diff options
| author | 2025-02-17 07:41:18 +0100 | |
|---|---|---|
| committer | 2025-02-17 07:41:18 +0100 | |
| commit | 0851c49e02a321c7d688b6542a90ff8a71f498c8 (patch) | |
| tree | 67d787608695391e5edc2eb245b3943302ba1734 /deluge/plugins/AutoAdd | |
| parent | 4e4bfe759938fe0e17da559edfeee7b73969daf3 (diff) | |
Merging upstream version 2.1.2~dev0+20230529.
Signed-off-by: Daniel Baumann <daniel@debian.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) |
