mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
remove reset limits, disable debug, improve get next starrs ip, add start of template code
This commit is contained in:
parent
8fbe4de70f
commit
7b4e7fb6e8
7 changed files with 70 additions and 22 deletions
|
@ -24,7 +24,8 @@ def send_vm_expire_email(user, vms):
|
|||
body = "The following VMs in Proxstar are expiring soon:\n\n"
|
||||
for vm in vms:
|
||||
if vm[1] == 0:
|
||||
body += " - {} today (VM has been stopped)\n".format(vm[0], vm[1])
|
||||
body += " - {} today (VM has been stopped)\n".format(
|
||||
vm[0], vm[1])
|
||||
if vm[1] == 1:
|
||||
body += " - {} in 1 day\n".format(vm[0])
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue