diff --git a/pylot/core/readdata/__init__.py b/pylot/core/read/__init__.py similarity index 100% rename from pylot/core/readdata/__init__.py rename to pylot/core/read/__init__.py diff --git a/pylot/core/readdata/types.py b/pylot/core/read/data.py similarity index 98% rename from pylot/core/readdata/types.py rename to pylot/core/read/data.py index b4b9dbec..ae4a9932 100644 --- a/pylot/core/readdata/types.py +++ b/pylot/core/read/data.py @@ -65,6 +65,8 @@ class SeiscompDataStructure(object): def modifiyFields(self, **kwargs): if kwargs and isinstance(kwargs, dict): for key, value in kwargs.iteritems(): + key = str(key) + value = str(value) try: if key in self.__sdsFields.keys(): self.__sdsFields[key] = str(value) diff --git a/pylot/core/readinput/types.py b/pylot/core/read/inputs.py similarity index 99% rename from pylot/core/readinput/types.py rename to pylot/core/read/inputs.py index 54aadcbc..473f91d7 100644 --- a/pylot/core/readinput/types.py +++ b/pylot/core/read/inputs.py @@ -1,6 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- + class AutoPickParameter(object): ''' AutoPickParameters is a parameter type object capable to read and/or write diff --git a/pylot/core/readinput/__init__.py b/pylot/core/readinput/__init__.py deleted file mode 100644 index e69de29b..00000000