Remove the file once I've read it out.

master
jowj 4 years ago
parent 5010b40d9a
commit 17fffde8c5

@ -95,6 +95,7 @@ def handle_messages(**payload):
with open("/shared/state.json", "r") as json_File:
for line in json_File:
response.append(json.loads(line))
os.remove("/shared/state.json")
elif "zalgo" in is_command[1]:
# remove zalgo
name_removal = re.sub("^zalgo .*?", "", is_command[1])

Loading…
Cancel
Save