removed a debug line
Signed-off-by: SpagettiFisch <johmewu@gmail.com>
This commit is contained in:
parent
52537118cf
commit
3641acf94a
1 changed files with 1 additions and 2 deletions
|
|
@ -94,4 +94,3 @@ async def syncWhitelistPterodactyl(whitelist):
|
||||||
async def pterodactylWriteFile(serverid, path, data, apikey):
|
async def pterodactylWriteFile(serverid, path, data, apikey):
|
||||||
url = f'{init.config().get_pterodactyl_domain()}api/client/servers/{serverid}/files/write?file={urllib.parse.quote(path)}'
|
url = f'{init.config().get_pterodactyl_domain()}api/client/servers/{serverid}/files/write?file={urllib.parse.quote(path)}'
|
||||||
requests.post(url, data=data, headers={"Accept": "application/json", "Authorization": f"Bearer {apikey}"})
|
requests.post(url, data=data, headers={"Accept": "application/json", "Authorization": f"Bearer {apikey}"})
|
||||||
print('Whitelist abgeschickt')
|
|
||||||
Loading…
Add table
Reference in a new issue