Log url in Gather

Useful for upcoming commits
master
pictuga 2013-09-15 18:53:35 +02:00
parent 532852a408
commit 7575291f8f
1 changed files with 2 additions and 1 deletions

View File

@ -364,6 +364,8 @@ def Fill(item, cache, feedurl='/', fast=False):
return True return True
def Gather(url, cachePath, progress=False): def Gather(url, cachePath, progress=False):
log(url)
url = url.replace(' ', '%20') url = url.replace(' ', '%20')
cache = Cache(cachePath, url) cache = Cache(cachePath, url)
@ -436,7 +438,6 @@ if __name__ == '__main__':
else: else:
cache = os.path.expanduser('~') + '/.cache/morss' cache = os.path.expanduser('~') + '/.cache/morss'
log(url)
if url is None: if url is None:
print 'Please provide url.' print 'Please provide url.'
sys.exit(1) sys.exit(1)