parent
0c6e28205a
commit
e2c3375eb6
2
morss.py
2
morss.py
|
@ -409,6 +409,7 @@ def Gather(url, cachePath, mode='feed'):
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
url, options = parseOptions(OPTIONS)
|
url, options = parseOptions(OPTIONS)
|
||||||
|
log(url)
|
||||||
|
|
||||||
if 'REQUEST_URI' in os.environ:
|
if 'REQUEST_URI' in os.environ:
|
||||||
print 'Status: 200'
|
print 'Status: 200'
|
||||||
|
@ -420,7 +421,6 @@ if __name__ == '__main__':
|
||||||
print
|
print
|
||||||
|
|
||||||
cache = os.getcwd() + '/cache'
|
cache = os.getcwd() + '/cache'
|
||||||
log(url)
|
|
||||||
else:
|
else:
|
||||||
cache = os.path.expanduser('~') + '/.cache/morss'
|
cache = os.path.expanduser('~') + '/.cache/morss'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue