[hamster-applet] a trailing comma indeed turns value into tuple



commit 40bb1f232c2293ef89a2eb7c4a7fe368906641cf
Author: Toms Bauģis <toms baugis gmail com>
Date:   Fri Nov 27 21:43:21 2009 +0000

    a trailing comma indeed turns value into tuple

 hamster/db.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/hamster/db.py b/hamster/db.py
index 8e19988..f5f851e 100644
--- a/hamster/db.py
+++ b/hamster/db.py
@@ -600,7 +600,7 @@ class Storage(storage.Storage):
                 # due to spanning we've jumped outside of given period
                 continue
 
-            fact["date"] = fact_date,
+            fact["date"] = fact_date
             fact["delta"] = fact_end_time - fact["start_time"]
             res.append(fact)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]