Skip to content
Browse files

we should write to cache file when there is no cache file avaliable

  • Loading branch information...
1 parent a09d174 commit fd7f9ee532d9613c32fc1ed8682b1cb42fd59298 @garbas committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 githubcollective/
3 githubcollective/
@@ -79,7 +79,8 @@ def run():
sync_ok =, old)
if sync_ok:
- if args.cache and not args.pretend:
+ if args.cache and \
+ (not args.pretend or not os.path.exists(args.cache)):
cache = open(args.cache, 'w+')

0 comments on commit fd7f9ee

Please sign in to comment.
Something went wrong with that request. Please try again.