Correct path for source image in path, take the real one, not the expected one. increase version nb 0.3.3
authorymh <ymh.work@gmail.com>
Wed, 01 Aug 2018 14:43:20 +0200
changeset 28 15f63c5dfe3f
parent 27 f72b8e48830d
child 29 9de311703ab9
Correct path for source image in path, take the real one, not the expected one. increase version nb
src/iconolab_episteme/__init__.py
src/iconolab_episteme/management/commands/importimages.py
--- a/src/iconolab_episteme/__init__.py	Wed Aug 01 14:05:37 2018 +0200
+++ b/src/iconolab_episteme/__init__.py	Wed Aug 01 14:43:20 2018 +0200
@@ -1,4 +1,4 @@
-VERSION = (0, 3, 2, "final", 0)
+VERSION = (0, 3, 3, "final", 0)
 
 VERSION_STR = ".".join(map(lambda i:"%02d" % (i,), VERSION[:2]))
 
--- a/src/iconolab_episteme/management/commands/importimages.py	Wed Aug 01 14:05:37 2018 +0200
+++ b/src/iconolab_episteme/management/commands/importimages.py	Wed Aug 01 14:43:20 2018 +0200
@@ -77,7 +77,7 @@
                     eso_data = json.load(json_data)
                     eso_image = eso_data['image']
                 
-                    path_images = os.path.join(filename_without_extension, filename)
+                    path_images = os.path.join(dirname, filename)
                     image_list = [path_images]
                     image_dir = filename_without_extension