Skip to content

Commit

Permalink
style: fixed code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Nov 10, 2020
1 parent 1cc2e49 commit 8775e04
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions aw_core/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ def _get_latest_log_files(name, testing=False) -> List[str]: # pragma: no cover


def get_latest_log_file(name, testing=False) -> Optional[str]: # pragma: no cover
"""Returns the filename of the last logfile with `name`.
Useful when you want to read the logfile of another ActivityWatch service."""
"""
Returns the filename of the last logfile with `name`.
Useful when you want to read the logfile of another ActivityWatch service.
"""
last_logs = _get_latest_log_files(name, testing=testing)
return last_logs[0] if last_logs else None

Expand Down

0 comments on commit 8775e04

Please sign in to comment.