diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-06-24 17:38:25 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-06-24 17:38:25 +0000 |
commit | d269eb36c8f4d05fb0f8e9b8a00998dd41f0c829 (patch) | |
tree | 4268cb5c733a3b88e7c5b765a30f5b9fd81c804e /deluge/plugins/AutoAdd | |
parent | Adding upstream version 2.1.1. (diff) | |
download | deluge-d269eb36c8f4d05fb0f8e9b8a00998dd41f0c829.tar.xz deluge-d269eb36c8f4d05fb0f8e9b8a00998dd41f0c829.zip |
Adding upstream version 2.1.2~dev0+20230529.upstream/2.1.2_dev0+20230529
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'deluge/plugins/AutoAdd')
-rw-r--r-- | deluge/plugins/AutoAdd/deluge_autoadd/core.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/deluge/plugins/AutoAdd/deluge_autoadd/core.py b/deluge/plugins/AutoAdd/deluge_autoadd/core.py index 07ad53a..271d5f0 100644 --- a/deluge/plugins/AutoAdd/deluge_autoadd/core.py +++ b/deluge/plugins/AutoAdd/deluge_autoadd/core.py @@ -80,7 +80,6 @@ def check_input(cond, message): class Core(CorePluginBase): def enable(self): - # reduce typing, assigning some values to self... self.config = deluge.configmanager.ConfigManager('autoadd.conf', DEFAULT_PREFS) self.config.run_converter((0, 1), 2, self.__migrate_config_1_to_2) @@ -271,7 +270,7 @@ class Core(CorePluginBase): try: filedump = self.load_torrent(filepath, magnet) - except (OSError, EOFError, InvalidTorrentError) as ex: + except (OSError, EOFError, RuntimeError, InvalidTorrentError) as ex: # If torrent is invalid, keep track of it so can try again on the next pass. # This catches torrent files that may not be fully saved to disk at load time. log.debug('Torrent is invalid: %s', ex) |