Skip to content

Commit

Permalink
Fix formatting for updater.py via black
Browse files Browse the repository at this point in the history
Ensures the `black` Makefile target succeeds
  • Loading branch information
emkll committed Feb 12, 2020
1 parent a9f3215 commit 5126a34
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion launcher/sdw_updater_gui/Updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,9 @@ def last_required_reboot_performed():
return True

if int(flag_contents["status"]) == int(UpdateStatus.REBOOT_REQUIRED.value):
reboot_time = datetime.strptime(flag_contents["last_status_update"], DATE_FORMAT)
reboot_time = datetime.strptime(
flag_contents["last_status_update"], DATE_FORMAT
)
boot_time = datetime.now() - _get_uptime()

# The session was started *before* the reboot was requested by
Expand Down

0 comments on commit 5126a34

Please sign in to comment.