From e2c3375eb67902a5d09d4a370ee3e7db541b62a9 Mon Sep 17 00:00:00 2001 From: pictuga Date: Sat, 24 Aug 2013 23:41:40 +0200 Subject: [PATCH] Log url earlier Now logging it in both use cases --- morss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss.py b/morss.py index ecf96b6..1795860 100644 --- a/morss.py +++ b/morss.py @@ -409,6 +409,7 @@ def Gather(url, cachePath, mode='feed'): if __name__ == '__main__': url, options = parseOptions(OPTIONS) + log(url) if 'REQUEST_URI' in os.environ: print 'Status: 200' @@ -420,7 +421,6 @@ if __name__ == '__main__': print cache = os.getcwd() + '/cache' - log(url) else: cache = os.path.expanduser('~') + '/.cache/morss'