Use more obvious varname for cache path

master
pictuga 2013-11-03 13:32:24 +01:00
parent a0c75238b9
commit f756a4d834
1 changed files with 3 additions and 3 deletions

View File

@ -534,9 +534,9 @@ if __name__ == '__main__':
HOLD = False HOLD = False
cache = os.getcwd() + '/cache' cachePath = os.getcwd() + '/cache'
else: else:
cache = os.path.expanduser('~') + '/.cache/morss' cachePath = os.path.expanduser('~') + '/.cache/morss'
if url is None: if url is None:
print 'Please provide url.' print 'Please provide url.'
@ -547,7 +547,7 @@ if __name__ == '__main__':
if options.cache: if options.cache:
MAX_TIME = 0 MAX_TIME = 0
RSS = Gather(url, cache, options) RSS = Gather(url, cachePath, options)
if RSS is not False and not options.progress and not DEBUG: if RSS is not False and not options.progress and not DEBUG:
print RSS print RSS