From 3294a41cb45a4d8554303f0fbb916c77e6ac1964 Mon Sep 17 00:00:00 2001 From: insert-usernamehere Date: Mon, 25 Jan 2021 17:00:02 -0500 Subject: [PATCH] TaB --- database bot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/database bot.py b/database bot.py index 2b860a9..f900b56 100644 --- a/database bot.py +++ b/database bot.py @@ -20,11 +20,11 @@ async def addcharacter(ctx): zf.extractall('public/singlecharacter') zf.close() if os.path.exists("newcharacter.zip"): - os.remove("newcharacter.zip") + os.remove("newcharacter.zip") else: pass if os.path.exists("public/characters.zip"): - os.remove("public/characters.zip") + os.remove("public/characters.zip") else: pass shutil.make_archive('public/characters', 'zip', 'public/singlecharacter') @@ -38,11 +38,11 @@ async def addsound(ctx): zf.extractall('public/singlesound') zf.close() if os.path.exists("newsound.zip"): - os.remove("newsound.zip") + os.remove("newsound.zip") else: pass if os.path.exists("public/sounds.zip"): - os.remove("public/sounds.zip") + os.remove("public/sounds.zip") else: pass shutil.make_archive('public/sounds', 'zip', 'public/singlesound')