pas si malin
This commit is contained in:
parent
ffeb6cc854
commit
424712a1bd
|
@ -1 +1,2 @@
|
|||
*~
|
||||
*~
|
||||
state.json
|
|
@ -23,3 +23,6 @@ if __name__ == "__main__":
|
|||
print(random.choice(glob.glob(f"{script_dir}/songs/*.ogg")))
|
||||
else:
|
||||
exit(1)
|
||||
|
||||
with open(f"{script_dir}/state.json", "w") as f:
|
||||
json.dump(state, f, indent=4)
|
||||
|
|
Loading…
Reference in New Issue