mirror of
https://github.com/glomatico/gamdl.git
synced 2025-01-22 11:18:39 +00:00
Update gamdl.py
This commit is contained in:
parent
7b7bc40912
commit
c1aa9f214e
4
gamdl.py
4
gamdl.py
@ -494,8 +494,6 @@ if __name__ == '__main__':
|
||||
if not args.no_lrc and lyrics and lyrics[1]:
|
||||
gamdl.make_lrc(final_download_location, lyrics)
|
||||
gamdl.apply_tags(final_download_location, tags)
|
||||
if not args.skip_cleanup and os.path.exists(args.temp_path):
|
||||
shutil.rmtree(args.temp_path)
|
||||
except KeyboardInterrupt:
|
||||
exit(0)
|
||||
except:
|
||||
@ -503,4 +501,6 @@ if __name__ == '__main__':
|
||||
print(f'* Failed to dowload "{download_queue[j]["title"]}" ({j + 1} of {len(download_queue)}).')
|
||||
if args.print_exception:
|
||||
traceback.print_exc()
|
||||
if not args.skip_cleanup and os.path.exists(args.temp_path):
|
||||
shutil.rmtree(args.temp_path)
|
||||
print(f'All done ({error_count} error(s)).')
|
||||
|
Loading…
Reference in New Issue
Block a user