Skip to content

Commit

Permalink
fix flickering error during the daemon restart (#240)
Browse files Browse the repository at this point in the history
* remove start message check

* prepare to publish
  • Loading branch information
slytomcat committed Jul 24, 2023
1 parent 7278d8d commit a3e6dee
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/changelog
Original file line number Diff line number Diff line change
@@ -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 <[email protected]> @date
2 changes: 0 additions & 2 deletions daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion indicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
#
Expand Down
2 changes: 1 addition & 1 deletion yandex-disk-indicator
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ then
fi

cd /usr/share/yd-tools
python3 indicator.py "$@"
python3 indicator.py "$@"

0 comments on commit a3e6dee

Please sign in to comment.