summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-04-09 16:29:40 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-04-09 16:29:40 (GMT)
commit6bfdbce784af9d0597d47a53048e0f6a1296b1ee (patch)
treebc1a2fa48d52f4831cae8ec5d68150a859a0ea56
parent473d76c44f249c1ad262493cf11ccb8faf9d9a2f (diff)
downloadswift-6bfdbce784af9d0597d47a53048e0f6a1296b1ee.zip
swift-6bfdbce784af9d0597d47a53048e0f6a1296b1ee.tar.bz2
Fixed bug in GetGravatars script.
-rwxr-xr-xBuildTools/Gource/GetGravatars.py3
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")