DrBot7
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
cogs/timings.py
|
@ -135,8 +135,8 @@ class Timings(commands.Cog): |
|
|
min_mem = 0 |
|
|
min_mem = 0 |
|
|
flaglist = flags.split(" ") |
|
|
flaglist = flags.split(" ") |
|
|
for flag in flaglist: |
|
|
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("G", "000") |
|
|
min_mem = min_mem.replace("M", "") |
|
|
min_mem = min_mem.replace("M", "") |
|
|
min_mem = min_mem.replace("g", "000") |
|
|
min_mem = min_mem.replace("g", "000") |
|
|