diff options
Diffstat (limited to 'module/PyFile.py')
-rw-r--r-- | module/PyFile.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/module/PyFile.py b/module/PyFile.py index 776039ef8..6ab8318fc 100644 --- a/module/PyFile.py +++ b/module/PyFile.py @@ -48,6 +48,11 @@ def setSize(self, value): self._size = int(value) class PyFile(object): + + __slots__ = ("m", "id", "url", "name", "size", "_size", "status", "pluginname", "packageid", + "error", "order", "lock", "plugin", "waitUntil", "active", "abort", + "reconnected", "progress", "pluginmodule", "pluginclass") + def __init__(self, manager, id, url, name, size, status, error, pluginname, package, order): self.m = manager |