Skip to content

Commit

Permalink
Fix crash on VM settings for a VM with temporary unlocked FW
Browse files Browse the repository at this point in the history
  • Loading branch information
spiccinini committed Jul 20, 2024
1 parent e37573a commit 2b1b1bc
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 @@ -1472,7 +1472,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 2b1b1bc

Please sign in to comment.