Closed itzexor closed 4 years ago
Checks when GLib.get_user_special_dir(GLib.UserDirectory.DIRECTORY_DOWNLOAD) returns None as os.path.exists doesn't allow NoneType and throws an error
GLib.get_user_special_dir(GLib.UserDirectory.DIRECTORY_DOWNLOAD)
None
os.path.exists
Fixes override to search for the widget to override instead of hardcoding the widget path. This may work for multiple versions.
Checks when
GLib.get_user_special_dir(GLib.UserDirectory.DIRECTORY_DOWNLOAD)
returnsNone
asos.path.exists
doesn't allow NoneType and throws an errorFixes override to search for the widget to override instead of hardcoding the widget path. This may work for multiple versions.