Commit ba6869dd authored by Paweł Szostek's avatar Paweł Szostek

quick modelsim.ini-path-problem fix

parent 7f1cb1e7
...@@ -281,7 +281,11 @@ class ModelsiminiReader(object): ...@@ -281,7 +281,11 @@ class ModelsiminiReader(object):
new_section = "\[[^\[\]]+\]" new_section = "\[[^\[\]]+\]"
libs = [] libs = []
ini = open(self.path, "r") try:
ini = open(self.path, "r")
except Exception, e:
return []
reading_libraries = False reading_libraries = False
for line in ini: for line in ini:
line = line.split(";")[0] line = line.split(";")[0]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment