names like 2020.2 cannot be converted to int
This commit is contained in:
parent
5da1aa49bc
commit
bb5485927e
|
@ -19,11 +19,7 @@ class Marc:
|
||||||
|
|
||||||
"""
|
"""
|
||||||
self.solver = 'Marc'
|
self.solver = 'Marc'
|
||||||
try:
|
self.version = version
|
||||||
self.version = int(version)
|
|
||||||
except TypeError:
|
|
||||||
self.version = -1
|
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def library_path(self):
|
def library_path(self):
|
||||||
|
|
Loading…
Reference in New Issue