Skip to content

Commit

Permalink
File pathing fix for windows and linux support
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinuseka committed Apr 22, 2022
1 parent 9e040f3 commit f9a35ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Process.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,13 @@ def __reset_progress():

try:
if Data.progress_status[title_value]["bool"]:
download_path = Data.progress_status[title_value]["directory"]
download_path = os.path.normpath(Data.progress_status[title_value]["directory"])
if __complete_resume():
return True
else:
__reset_progress()
elif Data.progress_status[title_value]["Max"]:
download_path = Data.progress_status[title_value]["directory"]
download_path = os.path.normpath(Data.progress_status[title_value]["directory"])
Data_tsnap = Data.progress_status[title_value]["Max"]
Data_psnap = Data.progress_status["Bytes"]
if __incomplete_resume():
Expand Down

0 comments on commit f9a35ed

Please sign in to comment.