diff options
Diffstat (limited to 'overlays/worktime')
| -rwxr-xr-x | overlays/worktime/worktime/__main__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/overlays/worktime/worktime/__main__.py b/overlays/worktime/worktime/__main__.py index f0363777..ef5a7a38 100755 --- a/overlays/worktime/worktime/__main__.py +++ b/overlays/worktime/worktime/__main__.py | |||
| @@ -631,6 +631,7 @@ def time_worked(now, waybar, **args): | |||
| 631 | def round_clockout_time(difference): | 631 | def round_clockout_time(difference): |
| 632 | clockout_time = None | 632 | clockout_time = None |
| 633 | clockout_difference = None | 633 | clockout_difference = None |
| 634 | exact_clockout_time = None | ||
| 634 | if then.now_is_workday or now.now_is_workday: | 635 | if then.now_is_workday or now.now_is_workday: |
| 635 | clockout_difference = 5 * ceil(difference / timedelta(minutes = 5)) | 636 | clockout_difference = 5 * ceil(difference / timedelta(minutes = 5)) |
| 636 | clockout_time = now.now + difference | 637 | clockout_time = now.now + difference |
