dmart 1.4.18__py3-none-any.whl → 1.4.19__py3-none-any.whl
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.
- {dmart-1.4.18.dist-info → dmart-1.4.19.dist-info}/METADATA +1 -1
- {dmart-1.4.18.dist-info → dmart-1.4.19.dist-info}/RECORD +6 -6
- dmart.py +19 -0
- {dmart-1.4.18.dist-info → dmart-1.4.19.dist-info}/WHEEL +0 -0
- {dmart-1.4.18.dist-info → dmart-1.4.19.dist-info}/entry_points.txt +0 -0
- {dmart-1.4.18.dist-info → dmart-1.4.19.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
bundler.py,sha256=MDTUTVS0WL7gb-i1rDcS4i37KTqaW88TluL4L3rwjRw,1817
|
|
2
2
|
data_generator.py,sha256=CnE-VHEeX7-lAXtqCgbRqR9WHjTuOgeiZcviYrHAmho,2287
|
|
3
|
-
dmart.py,sha256=
|
|
3
|
+
dmart.py,sha256=xaWzoI7xbSizlBD5Cu27FxeERJ7O69I-HZGGBQ5ucfA,24352
|
|
4
4
|
get_settings.py,sha256=Sbe2WCoiK398E7HY4SNLfDN_GmE8knR4M-YJWF31jcg,153
|
|
5
5
|
info.json,sha256=hXQWl19lfMkEj_zXdehGeKjiKGNJ7emY4S7d4pIqJ1E,123
|
|
6
6
|
main.py,sha256=KZGhIL6AnEm5ZAPy4IvhBDpzSTjuodilV7NafNOyhzM,19676
|
|
@@ -272,8 +272,8 @@ utils/ticket_sys_utils.py,sha256=9QAlW2iiy8KyxQRBDj_WmzS5kKb0aYJmGwd4qzmGVqo,700
|
|
|
272
272
|
utils/web_notifier.py,sha256=QM87VVid2grC5lK3NdS1yzz0z1wXljr4GChJOeK86W4,843
|
|
273
273
|
utils/templates/activation.html.j2,sha256=XAMKCdoqONoc4ZQucD0yV-Pg5DlHHASZrTVItNS-iBE,640
|
|
274
274
|
utils/templates/reminder.html.j2,sha256=aoS8bTs56q4hjAZKsb0jV9c-PIURBELuBOpT_qPZNVU,639
|
|
275
|
-
dmart-1.4.
|
|
276
|
-
dmart-1.4.
|
|
277
|
-
dmart-1.4.
|
|
278
|
-
dmart-1.4.
|
|
279
|
-
dmart-1.4.
|
|
275
|
+
dmart-1.4.19.dist-info/METADATA,sha256=fvC35gtYzj_QldMMoGBbBnWYuKZo_hrY87dBTygXgzE,2149
|
|
276
|
+
dmart-1.4.19.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
277
|
+
dmart-1.4.19.dist-info/entry_points.txt,sha256=GjfoGh1bpxuU9HHGJzbtCFPNptHv9TryxHMN3uBSKpg,37
|
|
278
|
+
dmart-1.4.19.dist-info/top_level.txt,sha256=S-gfX1pLerapNXiHZ8lvPYoV7sgwSX2_NCZ6xfzDUHM,267
|
|
279
|
+
dmart-1.4.19.dist-info/RECORD,,
|
dmart.py
CHANGED
|
@@ -19,6 +19,25 @@ from hypercorn.config import Config
|
|
|
19
19
|
from hypercorn.run import run
|
|
20
20
|
|
|
21
21
|
try:
|
|
22
|
+
import alembic
|
|
23
|
+
# Check if we are importing the local alembic directory which is likely a leftover
|
|
24
|
+
if hasattr(alembic, '__path__'):
|
|
25
|
+
local_alembic_path = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'alembic'))
|
|
26
|
+
for p in alembic.__path__:
|
|
27
|
+
if os.path.abspath(p) == local_alembic_path:
|
|
28
|
+
# Check if it is a namespace package (no __init__.py)
|
|
29
|
+
if not os.path.exists(os.path.join(p, '__init__.py')):
|
|
30
|
+
# It is a leftover directory
|
|
31
|
+
try:
|
|
32
|
+
shutil.rmtree(p)
|
|
33
|
+
# Force reload
|
|
34
|
+
import sys
|
|
35
|
+
if 'alembic' in sys.modules:
|
|
36
|
+
del sys.modules['alembic']
|
|
37
|
+
import alembic
|
|
38
|
+
except Exception:
|
|
39
|
+
pass
|
|
40
|
+
|
|
22
41
|
from alembic import command as alembic_command
|
|
23
42
|
from alembic.config import Config as AlembicConfig
|
|
24
43
|
HAS_ALEMBIC = True
|
|
File without changes
|
|
File without changes
|
|
File without changes
|