Browse Source

Update timings.py

pull/3/head
DrBot7 4 years ago
committed by GitHub
parent
commit
47983c8a5e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      cogs/timings.py

4
cogs/timings.py

@ -135,8 +135,8 @@ class Timings(commands.Cog):
min_mem = 0
flaglist = flags.split(" ")
for flag in flaglist:
if flag.startswith("-Xmx"):
min_mem = flag.split("-Xmx")[1]
if flag.startswith("-Xms"):
min_mem = flag.split("-Xms")[1]
min_mem = min_mem.replace("G", "000")
min_mem = min_mem.replace("M", "")
min_mem = min_mem.replace("g", "000")

Loading…
Cancel
Save