diff --git a/agkyra/gui/menu.html b/agkyra/gui/menu.html index 66923bbc554d2c2f47f7577fdac5599fcb5eac08..d4acb05a4be9a9770fcc714520fd8a2cbf427982 100644 --- a/agkyra/gui/menu.html +++ b/agkyra/gui/menu.html @@ -213,11 +213,11 @@ window.setInterval(function() { } new_progress = status.synced + ' of ' + status.unsynced + ' synced'; } - if (new_pause != pause_item.label) { + if (new_pause !== pause_item.label.slice(0, new_pause.length)) { pause_item.label = new_pause; menu_modified = true; } - if (new_progress != progress_item.label) { + if (new_progress !== progress_item.label.slice(0, new_progress.length)) { progress_item.label = new_progress; menu_modified = true; } diff --git a/launch b/launch index 89640d8172c0fb690fb6a4572f407b8ffa0e0066..03fb63f11c93b7bda39d0e40181bd10232026156 100755 --- a/launch +++ b/launch @@ -30,10 +30,10 @@ LOGGER.addHandler(HANDLER) LOGGER.setLevel(logging.INFO) # # run GUI -# from agkyra import gui -# gui.run() +from agkyra import gui +gui.run() # run cli -from agkyra.cli import AgkyraCLI -from sys import argv -AgkyraCLI().onecmd(' '.join(argv[1:] or ['help', ])) +# from agkyra.cli import AgkyraCLI +# from sys import argv +# AgkyraCLI().onecmd(' '.join(argv[1:] or ['help', ]))