diff options
author | Ghostkeeper <ghost_keeper+github@hotmail.com> | 2015-12-15 18:12:05 +0300 |
---|---|---|
committer | Ghostkeeper <ghost_keeper+github@hotmail.com> | 2015-12-17 15:35:16 +0300 |
commit | 984a8efe1e7ba2b72440bc516cf2925b3721d21a (patch) | |
tree | fecb49b74136da2df36f2b618eb4484565fcf7a0 /plugins/CuraProfileReader | |
parent | f95bfd8ae3970e97c347b1ebf5d103f11dbc75e1 (diff) |
Allowing profile readers to read multiple file types per plugin
Both of these plugins only read one file type, but it's allowed now.
Contributes to issue CURA-34.
Diffstat (limited to 'plugins/CuraProfileReader')
-rw-r--r-- | plugins/CuraProfileReader/__init__.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/CuraProfileReader/__init__.py b/plugins/CuraProfileReader/__init__.py index d3a35d8ebd..16a24f116d 100644 --- a/plugins/CuraProfileReader/__init__.py +++ b/plugins/CuraProfileReader/__init__.py @@ -15,10 +15,12 @@ def getMetaData(): "description": catalog.i18nc("@info:whatsthis", "Provides support for importing Cura profiles."), "api": 2 }, - "profile_reader": { - "extension": "curaprofile", - "description": catalog.i18nc("@item:inlistbox", "Cura Profile") - } + "profile_reader": [ + { + "extension": "curaprofile", + "description": catalog.i18nc("@item:inlistbox", "Cura Profile") + } + ] } def register(app): |