mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-07-08 04:35:39 -05:00
Fixed File Not found issue in general.py
This commit is contained in:
parent
bcae59efd5
commit
4319b40d4b
|
|
@ -279,7 +279,7 @@ def file_gold_rush(seed, map_name, game_version):
|
|||
|
||||
if request.method == "GET":
|
||||
if os.path.isfile(file_path):
|
||||
with open(file_name, "r") as files:
|
||||
with open(file_path, "r") as files:
|
||||
data = files.read()
|
||||
encoded_data = base64.b64encode(data)
|
||||
return encoded_data
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user