mirror of
https://github.com/adulau/gitlog2timesheet.git
synced 2024-12-22 08:36:02 +00:00
skip not existing repository
This commit is contained in:
parent
75a9c91af5
commit
deeb3ac156
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue