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'
|
||||
try:
|
||||
self.version = int(version)
|
||||
except TypeError:
|
||||
self.version = -1
|
||||
|
||||
self.version = version
|
||||
|
||||
@property
|
||||
def library_path(self):
|
||||
|
|
Loading…
Reference in New Issue