Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
fix race condition on concurrent call
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - #2720
  • Loading branch information
hkiel authored and OpenModelica-Hudson committed Oct 13, 2018
1 parent c303e6d commit 1619f73
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Examples/generate_icons.py
Expand Up @@ -1239,7 +1239,10 @@ def main():
for f in ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f']:
output_dirx = os.path.join(output_dir, f)
if not os.path.exists(output_dirx):
os.makedirs(output_dirx)
try:
os.makedirs(output_dirx)
except:
pass

success = True

Expand Down

0 comments on commit 1619f73

Please sign in to comment.