Skip to content
Snippets Groups Projects
Commit 31b4f5b9 authored by Attie Grande's avatar Attie Grande
Browse files

skipping entries with no description...

parent 47f3959d
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,9 @@ class App:
if 'stop' not in toggl_entry:
continue # the 'current' time entry is ignored
if 'description' not in toggl_entry or toggl_entry['description'] == '':
continue # the entry has no description...
print('%d: %s -- ' % ( toggl_entry['id'], toggl_entry['description'] ), end='')
# try to match the description against our expected pattern... e.g:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment