aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2011-07-15 14:47:10 +0200
committercedricbonhomme <devnull@localhost>2011-07-15 14:47:10 +0200
commitfcb4a658f8e781959ba84f55ba6f4edd2d5b24db (patch)
tree321c707a57269e5dacc6501cad09e055e031ea73
parentRelease 2.8. (diff)
downloadnewspipe-fcb4a658f8e781959ba84f55ba6f4edd2d5b24db.tar.gz
newspipe-fcb4a658f8e781959ba84f55ba6f4edd2d5b24db.tar.bz2
newspipe-fcb4a658f8e781959ba84f55ba6f4edd2d5b24db.zip
Minor improvement of the control script (test if there is an argument).
-rwxr-xr-xpyAggr3g470r4
-rwxr-xr-xvar/feed.lst2
2 files changed, 5 insertions, 1 deletions
diff --git a/pyAggr3g470r b/pyAggr3g470r
index b136df24..81f5cea0 100755
--- a/pyAggr3g470r
+++ b/pyAggr3g470r
@@ -117,7 +117,9 @@ def usage():
if __name__ == "__main__":
# Point of entry in execution mode.
- if sys.argv[1] == "start":
+ if len(sys.argv) == 1:
+ usage()
+ elif sys.argv[1] == "start":
start()
elif sys.argv[1] == "stop":
stop()
diff --git a/var/feed.lst b/var/feed.lst
index 0b373515..4708310e 100755
--- a/var/feed.lst
+++ b/var/feed.lst
@@ -33,3 +33,5 @@ http://python-history.blogspot.com/feeds/posts/default
http://www.haypocalc.com/wordpress/feed
http://www.crypto.com/blog/rss10.xml
http://spaf.wordpress.com/feed/
+http://neopythonic.blogspot.com/feeds/posts/default
+
bgstack15