diff options
author | Ajay Garg <ajay@activitycentral.com> | 2013-02-18 12:12:10 (GMT) |
---|---|---|
committer | Ajay Garg <ajay@activitycentral.com> | 2013-02-18 12:12:10 (GMT) |
commit | 2f0eb5f44eec74cccb081103533218049e1ccbed (patch) | |
tree | 0549753897642c8431d15297450d9e342170cdf2 | |
parent | e7b692dce140eeb90115f5712400fa1cc5e76539 (diff) |
Minor fix in previous commit.
-rw-r--r-- | src/sugar3/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar3/util.py b/src/sugar3/util.py index ed459b5..9487652 100644 --- a/src/sugar3/util.py +++ b/src/sugar3/util.py @@ -307,7 +307,7 @@ def timestamp_to_elapsed_string(timestamp, max_levels=2): return_string = ELAPSED % time_period if DISPLAY_USER_FRIENDLY_MESSAGE_FOR_NEVER_USED_ACTIVITIES is True: - if return_string == NEVER_USED_ACTIVITIES_TIME: + if str(timestamp) == NEVER_USED_ACTIVITIES_TIME: return_string = _('Not used yet') return return_string |