mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-14 14:13:34 -06:00
change file read to write minor error
This commit is contained in:
@@ -73,7 +73,7 @@ service_functions = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if not os.path.exists(os.path.join('app', 'sounds', 'filenames.json')):
|
if not os.path.exists(os.path.join('app', 'sounds', 'filenames.json')):
|
||||||
with open(os.path.join('app', 'sounds', 'filenames.json'), 'r+') as file:
|
with open(os.path.join('app', 'sounds', 'filenames.json'), 'w') as file:
|
||||||
json.dump({'youtube' : {} })
|
json.dump({'youtube' : {} })
|
||||||
|
|
||||||
# Streams a prepared MP3 back to the client
|
# Streams a prepared MP3 back to the client
|
||||||
|
|||||||
Reference in New Issue
Block a user