Skip to content

Commit

Permalink
fix link to svg
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - OpenModelica/OMCompiler#2739
  • Loading branch information
hkiel authored and OpenModelica-Hudson committed Oct 25, 2018
1 parent 743eec1 commit f73af46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/generate_icons.py
Expand Up @@ -1147,7 +1147,7 @@ def generateSvg(filename, iconGraphics, includeInvisibleText, warn_duplicates):
dwg.saveas(hashPath)
if not os.path.islink(filename):
try:
os.symlink(hashName, filename)
os.symlink(hashPath, filename)
except OSError as e:
logger.error('Target file {0} already exists'.format(filename))
else:
Expand Down

0 comments on commit f73af46

Please sign in to comment.