Skip to content

Commit

Permalink
add Last Backup Date
Browse files Browse the repository at this point in the history
  • Loading branch information
ValT78 committed Mar 28, 2024
1 parent 2d67cd4 commit 2143b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/proxmox_api/proxmox.py
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ def get_vm_last_backup_date(vmid, node):
return None

if len(backup_dates) == 0:
print("Error : no backup for VM "+ vmid)
print("Error : no backup for VM "+ str(vmid))
return None

return max(backup_dates)
Expand Down

0 comments on commit 2143b7c

Please sign in to comment.