diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2014-02-09 19:45:28 +0000 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2014-02-09 19:45:28 +0000 |
commit | 018330c92cf95cf107761440a2f4ee8365f200a0 (patch) | |
tree | d75088d1bf8affefe0b103a8570bc2dd338c9709 | |
parent | 58c048f1b0c9d7b3b1d76c6bdf551534324b8b4b (diff) | |
download | deluge-018330c92cf95cf107761440a2f4ee8365f200a0.tar.gz deluge-018330c92cf95cf107761440a2f4ee8365f200a0.tar.bz2 deluge-018330c92cf95cf107761440a2f4ee8365f200a0.zip |
forgot break in for loop
-rw-r--r-- | deluge/common.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/deluge/common.py b/deluge/common.py index 90f440322..1deffd0a9 100644 --- a/deluge/common.py +++ b/deluge/common.py @@ -180,6 +180,7 @@ def get_default_download_dir(): for line in open(os.path.join(xdg_config_home, 'user-dirs.dirs'), 'r'): if not line.startswith('#') and line.startswith('XDG_DOWNLOAD_DIR'): download_dir = os.path.expandvars(line.partition("=")[2].rstrip().strip('"')) + break except IOError: pass |