Skip to content

Commit

Permalink
Fix it allll baby
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRazamataz committed Mar 28, 2021
1 parent 4ac6e8e commit 528a394
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ async def start(ctx: commands.Context):
await ctx.send("Starting second backup...")
print ("Second backup starting.")
backup_func2()
await ctx.send("Backup complete.")
print("Backup Complete")
except OSError as err:
print(err)
await ctx.send("Backup complete.")
print ("Backup Complete")
raise exception
@client.event
async def on_error(ctx, event, *args, **kwargs):
if isinstance(FileNotFoundError):
Expand Down

0 comments on commit 528a394

Please sign in to comment.