CapitaineJSparrow / steam-repo-manager

GUI interface on top of https://steamdeckrepo.com/ to install boot videos on your steam deck
GNU General Public License v3.0
69 stars 4 forks source link

FileNotFoundError when downloading #6

Closed cmontesano closed 1 year ago

cmontesano commented 1 year ago

This happens in override_default_length_library because library_path is hard coded to "/home/sparrow/Desktop/library.js" in utils/__init__.py

Traceback (most recent call last):
  File "/home/cmontesano/projects/steam-repo-manager/ui/widgets/library_row.py", line 16, in on_video_dl
    download_video(_, url)
  File "/home/cmontesano/projects/steam-repo-manager/utils/__init__.py", line 38, in download_video
    override_default_length_library()
  File "/home/cmontesano/projects/steam-repo-manager/utils/__init__.py", line 11, in override_default_length_library
    with open(library_path, 'r') as file:
FileNotFoundError: [Errno 2] No such file or directory: '/home/sparrow/Desktop/library.js'
CapitaineJSparrow commented 1 year ago

It's a mistake ! It has been fixed here : https://github.com/CapitaineJSparrow/steam-repo-manager/commit/46b79794671aaf9517caf83dd53d546262989755