mirror of
https://github.com/tuna/tunasync.git
synced 2025-06-15 14:12:47 +00:00
status bug fix
This commit is contained in:
parent
2626102a5f
commit
7469cc7bf1
@ -61,7 +61,7 @@ class StatusManager(object):
|
|||||||
'status': '-',
|
'status': '-',
|
||||||
})
|
})
|
||||||
|
|
||||||
if status in ("syncing", "fail"):
|
if status in ("syncing", "fail", "pre-syncing"):
|
||||||
update_time = _m["last_update"]
|
update_time = _m["last_update"]
|
||||||
elif status == "success":
|
elif status == "success":
|
||||||
update_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
update_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user