From 7575291f8f8a4fbda30db645454a2c1c76dfd2eb Mon Sep 17 00:00:00 2001 From: pictuga Date: Sun, 15 Sep 2013 18:53:35 +0200 Subject: [PATCH] Log url in Gather Useful for upcoming commits --- morss.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/morss.py b/morss.py index 9e95876..36da4d2 100644 --- a/morss.py +++ b/morss.py @@ -364,6 +364,8 @@ def Fill(item, cache, feedurl='/', fast=False): return True def Gather(url, cachePath, progress=False): + log(url) + url = url.replace(' ', '%20') cache = Cache(cachePath, url) @@ -436,7 +438,6 @@ if __name__ == '__main__': else: cache = os.path.expanduser('~') + '/.cache/morss' - log(url) if url is None: print 'Please provide url.' sys.exit(1)