mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-03 11:18:26 +02:00
track will always try to be downloaded
This commit is contained in:
parent
df6e0e8808
commit
524104b400
1 changed files with 14 additions and 16 deletions
|
@ -51,7 +51,6 @@ def patch_track(self, tracks, total_track="?"):
|
|||
if os.path.getsize(track_file) < 1000: # File under this size are corrupted
|
||||
os.remove(track_file)
|
||||
|
||||
if not (os.path.exists(track_wu8_file)):
|
||||
dl_code = self.get_github_file(track_wu8_file)
|
||||
if dl_code == -1:
|
||||
error_count += 1
|
||||
|
@ -82,7 +81,6 @@ def patch_track(self, tracks, total_track="?"):
|
|||
stderr = process_list[process].stderr.read()
|
||||
if b"wszst: ERROR" in stderr: # Error occured
|
||||
process_list.pop(process)
|
||||
print(process, stderr)
|
||||
os.remove(process)
|
||||
error_count += 1
|
||||
if error_count > error_max: # Too much track wasn't correctly converted
|
||||
|
|
Loading…
Reference in a new issue