diff --git a/build/changelog b/build/changelog index 43b85ba..852ff86 100644 --- a/build/changelog +++ b/build/changelog @@ -1,5 +1,5 @@ yd-tools (@version) @series; urgency=medium * Changes: - - Fix #238 wrong indicator title + - Fix flickering error during the daemon restart -- Sly_tom_cat @date diff --git a/daemon.py b/daemon.py index 83d0d23..bf567e7 100644 --- a/daemon.py +++ b/daemon.py @@ -318,8 +318,6 @@ def do_start(): try: # Try to start cmd = [self.__YDC, 'start', '-c', self.config.fileName] msg = check_output(cmd, universal_newlines=True) - if msg.strip().find("Done") < 0: - raise CalledProcessError(output=msg, returncode=0, cmd="") LOGGER.info('Daemon started, message: %s', msg) except CalledProcessError as e: LOGGER.error('Daemon start failed with code %d: %s', e.returncode, e.output) diff --git a/indicator.py b/indicator.py index f69c96f..7a66c11 100644 --- a/indicator.py +++ b/indicator.py @@ -27,7 +27,7 @@ from datetime import datetime APPNAME = 'yandex-disk-indicator' -APPVER = '1.12.1' +APPVER = '1.12.2' # COPYRIGHT = 'Copyright ' + '\u00a9' + ' 2013-' + str(datetime.today().year) + ' Sly_tom_cat' # diff --git a/yandex-disk-indicator b/yandex-disk-indicator index 860edf7..612c159 100755 --- a/yandex-disk-indicator +++ b/yandex-disk-indicator @@ -8,4 +8,4 @@ then fi cd /usr/share/yd-tools -python3 indicator.py "$@" \ No newline at end of file +python3 indicator.py "$@"