Skip to content

Commit

Permalink
Discard short recordings
Browse files Browse the repository at this point in the history
  • Loading branch information
dvershinin committed May 18, 2020
1 parent f60622e commit 8f4a18d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 6 additions & 1 deletion recorder/recorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@
from pydbus import SessionBus
import subprocess, signal, threading, datetime, gettext, locale, sys

from configparser import ConfigParser
try:
# Python 3
from configparser import ConfigParser
except ImportError:
# Python 2
from ConfigParser import SafeConfigParser as ConfigParser

try:
# Python 3
Expand Down
1 change: 0 additions & 1 deletion ui/ui.glade
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,6 @@
<property name="tooltip_text" translatable="yes">Don't save records with duration less than this number of seconds</property>
<property name="max_width_chars">2</property>
<property name="text" translatable="yes">30</property>
<property name="show_emoji_icon">True</property>
<property name="adjustment">discard_adjustment</property>
<property name="value">5</property>
<signal name="value-changed" handler="discard_changed" swapped="no"/>
Expand Down

0 comments on commit 8f4a18d

Please sign in to comment.