Commit 62495c97 authored by Thomas Karl Pietrowski's avatar Thomas Karl Pietrowski
Browse files

Bugfix for CLI reader

parent d81d747e
...@@ -21,7 +21,7 @@ i18n_catalog = i18nCatalog("FreeCADPlugin") ...@@ -21,7 +21,7 @@ i18n_catalog = i18nCatalog("FreeCADPlugin")
class FreeCADReader(CommonCLIReader): class FreeCADReader(CommonCLIReader):
def __init__(self): def __init__(self):
super().__init__("FreeCAD") super().__init__()
if Version("3.4") <= Version(Application.getInstance().getVersion()): if Version("3.4") <= Version(Application.getInstance().getVersion()):
MimeTypeDatabase.addMimeType(MimeType(name = "application/x-extension-fcstd", MimeTypeDatabase.addMimeType(MimeType(name = "application/x-extension-fcstd",
......
Supports Markdown
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