Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/372'
Browse files Browse the repository at this point in the history
* origin/pr/372:
  Fix crash on VM settings for a VM with temporary unlocked FW
  • Loading branch information
marmarek committed Jul 20, 2024
2 parents 9e82ba6 + 2b1b1bc commit 3f0a7a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubesmanager/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -1475,7 +1475,7 @@ def set_fw_model(self, model):
if model.temp_full_access_expire_time:
self.temp_full_access.setChecked(True)
expire_time = model.temp_full_access_expire_time - \
firewall.datetime.datetime.now().strftime("%s")
firewall.datetime.datetime.now().timestamp()
self.temp_full_access_time.setValue(int(expire_time / 60))

def disable_all_fw_conf(self):
Expand Down

0 comments on commit 3f0a7a6

Please sign in to comment.