misc: removed redundant variable
This commit is contained in:
parent
d0f71ffbec
commit
921adc0fed
1 changed files with 2 additions and 2 deletions
|
@ -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":
|
||||||
|
|
Reference in a new issue