diff options
-rwxr-xr-x | BuildTools/Gource/GetGravatars.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/BuildTools/Gource/GetGravatars.py b/BuildTools/Gource/GetGravatars.py index c6602ad..8adb13c 100755 --- a/BuildTools/Gource/GetGravatars.py +++ b/BuildTools/Gource/GetGravatars.py @@ -22,7 +22,8 @@ if p.wait() != 0 : sys.exit(-1) # Get & save the avatars -os.makedirs(output_dir) +if not os.path.isdir(output_dir) : + os.makedirs(output_dir) for email, name in authors.items() : print "Processing avatar for " + name + " <" + email + ">" filename = os.path.join(output_dir, name + ".png") |