Skip to content

Commit

Permalink
Update Some Code
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdWindScholar committed Apr 10, 2024
1 parent d8abbc2 commit d27a93f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cyrus.py
Original file line number Diff line number Diff line change
Expand Up @@ -1019,10 +1019,7 @@ def decompress_dat(transfer, source, distance, keep=0):
os.remove(source.rsplit(".", 2)[0] + ".patch.dat")
elif keep == 2:
os.remove(source)
keep = 0
else:
keep = 0
decompress_img(distance, V.DNA_MAIN_DIR + os.path.basename(distance).split(".")[0], keep)
decompress_img(distance, V.DNA_MAIN_DIR + os.path.basename(distance).split(".")[0], 0)
else:
print("\x1b[1;31m [Failed]\x1b[0m")

Expand Down

0 comments on commit d27a93f

Please sign in to comment.