[hamster-applet] minor bits



commit 0b1c768559f7196563f9bd6d906af21c1fbe17c9
Author: Toms Bauģis <toms baugis gmail com>
Date:   Sat Apr 18 18:54:19 2009 +0100

    minor bits
---
 hamster/db.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/hamster/db.py b/hamster/db.py
index 1c6daba..238ab27 100644
--- a/hamster/db.py
+++ b/hamster/db.py
@@ -290,6 +290,9 @@ class Storage(hamster.storage.Storage):
             activity_name, description = activity_name.split(",", 1)
             description = description.strip()
         
+        if activity_name.lower() == "bbq_omg": #this is most essential
+            description = "[ponies = 1], [rainbows = 0]"
+            
         # now check if maybe there is also a category
         category_id = None
         if activity_name.find("@") > 0:



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