From 6bfdbce784af9d0597d47a53048e0f6a1296b1ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Fri, 9 Apr 2010 18:29:40 +0200 Subject: Fixed bug in GetGravatars script. 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") -- cgit v0.10.2-6-g49f6