Skip to content

Conversation

@rTreutlein
Copy link

As mentioned in #12 here my various fixes and i found one more issue where data from Chromium was completely dropped.

Copy link
Member

@ErikBjare ErikBjare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice changes, but breaks Travis and has some issues I'd like to get fixed before I merge it.

events = exclude_keyvals(events, "app", browsernames_chrome)
events = exclude_keyvals(events, "app", browsernames_ff)
events = concat(events, events_web_ff)
events = concat(events, events_web)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!



@memory.cache
def get_events(since: datetime, end: datetime, include_smartertime='auto', include_toggl=None) -> List[Event]:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to change include_smartertime='auto' to False than to pass it in the call on line 542.

how_far_back = timedelta(hours=1 * 24)
args.start = args.end - how_far_back
events = get_events(args.start, args.end, include_toggl='./data/private/Toggl_time_entries_2017-12-17_to_2018-11-11.csv')
events = get_events(args.start, args.end, False)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the False I was referring to.

@@ -0,0 +1 @@
regex;sub-category;category
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep the default categories and add a comment specifying the format instead.

The file name should still be categories.example.csv, correct the filename used in the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants