Skip to content

Commit

Permalink
Spacification
Browse files Browse the repository at this point in the history
  • Loading branch information
sthagen committed Dec 29, 2021
1 parent f051da2 commit e22c4f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arbejdstimer/arbejdstimer.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ def main(argv: Union[List[str], None] = None) -> int:
print(f'configuration has {line_count} line{"" if line_count == 1 else "s"} of (indented) JSON content:')
for line, content in enumerate(lines, start=1):
print(f' {line:>{counter_width + 1}} | {content}')

if command == 'explain':
print(f'consider {len(holidays)} holidays:')
elif command == 'explain_verbatim':
Expand All @@ -175,6 +176,7 @@ def main(argv: Union[List[str], None] = None) -> int:
effective_range = DEFAULT_WORK_HOURS_CLOSED_INTERVAL
print(f' + [{effective_range[0]}, {effective_range[1]}] (application default)')
print('evaluation:')

error, message = apply(holidays, working_hours, command)
if error:
if command.startswith('explain'):
Expand Down

0 comments on commit e22c4f5

Please sign in to comment.