names like 2020.2 cannot be converted to int

This commit is contained in:
Martin Diehl 2020-06-03 15:18:46 +02:00
parent 5da1aa49bc
commit bb5485927e
1 changed files with 1 additions and 5 deletions

View File

@ -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):