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.
- {esentity-0.2.295 → esentity-0.2.296}/PKG-INFO +1 -1
- esentity-0.2.296/esentity/__init__.py +1 -0
- {esentity-0.2.295 → esentity-0.2.296}/esentity/api.py +2 -2
- {esentity-0.2.295 → esentity-0.2.296}/pyproject.toml +1 -1
- {esentity-0.2.295 → esentity-0.2.296}/setup.py +1 -1
- esentity-0.2.295/esentity/__init__.py +0 -1
- {esentity-0.2.295 → esentity-0.2.296}/esentity/encoder.py +0 -0
- {esentity-0.2.295 → esentity-0.2.296}/esentity/ext.py +0 -0
- {esentity-0.2.295 → esentity-0.2.296}/esentity/filters.py +0 -0
- {esentity-0.2.295 → esentity-0.2.296}/esentity/models.py +0 -0
- {esentity-0.2.295 → esentity-0.2.296}/esentity/routes.py +0 -0
- {esentity-0.2.295 → esentity-0.2.296}/esentity/tasks.py +0 -0
- {esentity-0.2.295 → esentity-0.2.296}/esentity/telegram.py +0 -0
|
@@ -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.
|
|
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.
|
|
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 +0,0 @@
|
|
|
1
|
-
__version__ = '0.2.295'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|