aboutsummaryrefslogtreecommitdiff
path: root/fetch.py
diff options
context:
space:
mode:
Diffstat (limited to 'fetch.py')
-rw-r--r--fetch.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/fetch.py b/fetch.py
index a1c19ab5..1bf10239 100644
--- a/fetch.py
+++ b/fetch.py
@@ -12,5 +12,9 @@ from pyaggr3g470r import feedgetter
if __name__ == "__main__":
# Point of entry in execution mode
+ try:
+ feed_id = int(sys.argv[2])
+ except:
+ feed_id = None
feed_getter = feedgetter.FeedGetter(sys.argv[1])
- feed_getter.retrieve_feed(None)
+ feed_getter.retrieve_feed(feed_id)
bgstack15