diff --git a/lib/gamera_extra.py b/lib/gamera_extra.py index e20251f..95eb564 100644 --- a/lib/gamera_extra.py +++ b/lib/gamera_extra.py @@ -132,7 +132,11 @@ def __init__(self, plugin, name): self._pixel_types = plugin.self_type.pixel_types self._method = None self.name = name - self.args = collections.OrderedDict() + if sys.version_info >= (2, 7): + self.args = collections.OrderedDict() + else: # + # Oh well. + self.args = {} for arg in plugin.args: if arg.name == 'storage format': continue