diff --git a/bin/gitlog2timesheet.py b/bin/gitlog2timesheet.py index 95589b1..33763aa 100644 --- a/bin/gitlog2timesheet.py +++ b/bin/gitlog2timesheet.py @@ -68,6 +68,8 @@ if options.total: projecttime = {} for repo in args: + if not os.path.exists(repo): + continue val = gitlog(location = repo) if options.debug: print val