diff --git a/deluge/core/core.py b/deluge/core/core.py index 164a4bdca..636d6b710 100644 --- a/deluge/core/core.py +++ b/deluge/core/core.py @@ -768,7 +768,10 @@ class Core(component.Component): """ if not path: path = self.config["download_location"] - return deluge.common.free_space(path) + try: + return deluge.common.free_space(path) + except InvalidPathError: + return 0 @export def get_libtorrent_version(self):