Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
Signed-off-by: anasty17 <[email protected]>
  • Loading branch information
anasty17 committed Aug 26, 2024
1 parent d933dc9 commit 1572068
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@
config_dict = {}

if ospath.exists("cfg.zip"):
rmtree("/JDownloader/cfg")
if ospath.exists("/JDownloader/cfg"):
rmtree("/JDownloader/cfg", ignore_errors=True)
run(["7z", "x", "cfg.zip", "-o/JDownloader"])
remove("cfg.zip")

Expand Down

0 comments on commit 1572068

Please sign in to comment.