esentity 0.2.295__tar.gz → 0.2.296__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: esentity
3
- Version: 0.2.295
3
+ Version: 0.2.296
4
4
  Summary: Elasticsearch Entity Tools
5
5
  Home-page: https://slotmarks.com
6
6
  Author: Slotmarks
@@ -0,0 +1 @@
1
+ __version__ = '0.2.296'
@@ -1795,14 +1795,14 @@ class ApiContentSlots(Resource):
1795
1795
 
1796
1796
  if process_media:
1797
1797
  if _doc['cover']:
1798
- path = current_app.images.path(_doc['cover'])
1798
+ path = f"{current_app.root_path}{_doc['cover']}"
1799
1799
  if os.path.isfile(path):
1800
1800
  image = Image.open(path)
1801
1801
  w, h = image.size
1802
1802
  _doc['cover_info'] = f'{w}x{h}'
1803
1803
 
1804
1804
  if _doc['screen']:
1805
- path = current_app.images.path(_doc['screen'])
1805
+ path = f"{current_app.root_path}{_doc['screen']}"
1806
1806
  if os.path.isfile(path):
1807
1807
  image = Image.open(path)
1808
1808
  w, h = image.size
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "esentity"
3
- version = "0.2.295"
3
+ version = "0.2.296"
4
4
  description = "Elasticsearch Entity Tools"
5
5
  authors = ["Slotmarks <info@slotmarks.com>"]
6
6
  homepage = "https://slotmarks.com"
@@ -9,7 +9,7 @@ package_data = \
9
9
 
10
10
  setup_kwargs = {
11
11
  'name': 'esentity',
12
- 'version': '0.2.295',
12
+ 'version': '0.2.296',
13
13
  'description': 'Elasticsearch Entity Tools',
14
14
  'long_description': None,
15
15
  'author': 'Slotmarks',
@@ -1 +0,0 @@
1
- __version__ = '0.2.295'
File without changes
File without changes