mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 14:17:13 -05:00
don't update value when downloading
This commit is contained in:
parent
d9a3658b56
commit
3123951e46
1 changed files with 2 additions and 1 deletions
|
|
@ -1900,9 +1900,10 @@ Couldn't contact Anki Online. Please check your internet connection.""")
|
|||
def fullSyncProgress(self, type, val):
|
||||
if type == "fromLocal":
|
||||
s = _("Uploaded %dKB to server...")
|
||||
self.updateProgress(label=s % (val / 1024), value=val)
|
||||
else:
|
||||
s = _("Downloaded %dKB from server...")
|
||||
self.updateProgress(label=s % (val / 1024), value=val)
|
||||
self.updateProgress(label=s % (val / 1024))
|
||||
|
||||
# Menu, title bar & status
|
||||
##########################################################################
|
||||
|
|
|
|||
Loading…
Reference in a new issue