misc: removed redundant variable

This commit is contained in:
Seaswimmer 2023-07-15 21:02:55 -04:00
parent d0f71ffbec
commit 921adc0fed
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -79,11 +79,11 @@ class Pterodactyl(commands.Cog):
new_put_data = [ new_put_data = [
{ {
"key": "FLAGS", "key": "FLAGS",
"value": old_startup_args[1] "value": list_var_response_dict['data'][4]['attributes']['server_value']
}, },
{ {
"key": "SERVER_JARFILE", "key": "SERVER_JARFILE",
"value": old_startup_args[0] "value": list_var_response_dict['data'][0]['attributes']['server_value']
} }
] ]
if response_dict['attributes']['current_state'] == "offline": if response_dict['attributes']['current_state'] == "offline":