diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-04-09 16:29:40 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-04-09 16:29:40 (GMT) |
commit | 6bfdbce784af9d0597d47a53048e0f6a1296b1ee (patch) | |
tree | bc1a2fa48d52f4831cae8ec5d68150a859a0ea56 /BuildTools/Gource | |
parent | 473d76c44f249c1ad262493cf11ccb8faf9d9a2f (diff) | |
download | swift-contrib-6bfdbce784af9d0597d47a53048e0f6a1296b1ee.zip swift-contrib-6bfdbce784af9d0597d47a53048e0f6a1296b1ee.tar.bz2 |
Fixed bug in GetGravatars script.
Diffstat (limited to 'BuildTools/Gource')
-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") |