hamster-applet r449 - trunk/hamster
- From: jojeda svn gnome org
- To: svn-commits-list gnome org
- Subject: hamster-applet r449 - trunk/hamster
- Date: Thu, 28 Aug 2008 07:28:33 +0000 (UTC)
Author: jojeda
Date: Thu Aug 28 07:28:33 2008
New Revision: 449
URL: http://svn.gnome.org/viewvc/hamster-applet?rev=449&view=rev
Log:
* hamster/hamster-applet.py: Fixed fail on exit when there is no
end time on the las activity.
Modified:
trunk/hamster/hamster-applet.py
Modified: trunk/hamster/hamster-applet.py
==============================================================================
--- trunk/hamster/hamster-applet.py (original)
+++ trunk/hamster/hamster-applet.py Thu Aug 28 07:28:33 2008
@@ -86,7 +86,7 @@
if config.get_stop_on_shutdown():
from hamster import storage
last_activity = storage.get_last_activity()
- if last_activity['end_time'] == None:
+ if last_activity and last_activity['end_time'] == None:
storage.touch_fact(last_activity)
gtk.main_quit()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]