Log url earlier

Now logging it in both use cases
master
pictuga 2013-08-24 23:41:40 +02:00
parent 0c6e28205a
commit e2c3375eb6
1 changed files with 1 additions and 1 deletions

View File

@ -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'