summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/convert.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/convert.py b/test/convert.py
index 276d500f..556a20f5 100755
--- a/test/convert.py
+++ b/test/convert.py
@@ -42,7 +42,8 @@ target = os.path.abspath(sys.argv[2])
dirname = os.path.dirname(target)
if not os.path.isdir(dirname):
- os.makedirs(dirname)
+ try: os.makedirs(dirname)
+ except: pass
fd = open(source, "r")
fo = open(target, "w")