From 7469cc7bf1beb8a8f154cf92644d27f54355d632 Mon Sep 17 00:00:00 2001 From: bigeagle Date: Sat, 16 May 2015 14:31:50 +0800 Subject: [PATCH] status bug fix --- tunasync/status_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tunasync/status_manager.py b/tunasync/status_manager.py index 4479141..46bad12 100644 --- a/tunasync/status_manager.py +++ b/tunasync/status_manager.py @@ -61,7 +61,7 @@ class StatusManager(object): 'status': '-', }) - if status in ("syncing", "fail"): + if status in ("syncing", "fail", "pre-syncing"): update_time = _m["last_update"] elif status == "success": update_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S")