remove reset limits, disable debug, improve get next starrs ip, add start of template code

This commit is contained in:
Jordan Rodgers 2018-01-31 22:23:22 -05:00
parent 8fbe4de70f
commit 7b4e7fb6e8
7 changed files with 70 additions and 22 deletions

View file

@ -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: