diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-11-09 08:37:53 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-11-09 08:37:53 +0100 |
commit | 2ea470dfc61e054f477d08698b00f0a911b68cd5 (patch) | |
tree | 21f9442fb1346293cf69abda47aa685babd77c2e /pyaggr3g470r/utils.py | |
parent | Class btn-default for the 'Log In' button. (diff) | |
download | newspipe-2ea470dfc61e054f477d08698b00f0a911b68cd5.tar.gz newspipe-2ea470dfc61e054f477d08698b00f0a911b68cd5.tar.bz2 newspipe-2ea470dfc61e054f477d08698b00f0a911b68cd5.zip |
More robust fetch.py script.
Diffstat (limited to 'pyaggr3g470r/utils.py')
-rwxr-xr-x | pyaggr3g470r/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/utils.py b/pyaggr3g470r/utils.py index d0419362..9fb26702 100755 --- a/pyaggr3g470r/utils.py +++ b/pyaggr3g470r/utils.py @@ -78,8 +78,8 @@ def opened_w_error(filename, mode="r"): finally: f.close() -def fetch(email, feed_id=None): - cmd = ['python', conf.basedir+'/fetch.py', email, str(feed_id)] +def fetch(id, feed_id=None): + cmd = ['python', conf.basedir+'/fetch.py', str(id), str(feed_id)] p = subprocess.Popen(cmd, stdout=subprocess.PIPE) def import_opml(email, opml_content): |