Skip to content

Commit

Permalink
Add fix for #94 and #107.
Browse files Browse the repository at this point in the history
  • Loading branch information
N0tACyb0rg committed May 14, 2024
1 parent 4c0f72e commit 90310b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/variamain.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@ def main(version, aria2cexec):
download_directory = GLib.get_user_special_dir(GLib.USER_DIRECTORY_DOWNLOAD)
else:
download_directory = GLib.get_user_special_dir(GLib.USER_DIRECTORY_HOME)
except:
download_directory = GLib.get_user_special_dir(GLib.USER_DIRECTORY_HOME)
except AttributeError:
download_directory = os.path.expanduser("~")

appconf = {
'download_speed_limit_enabled': '0',
Expand Down

0 comments on commit 90310b5

Please sign in to comment.