dmart 1.4.40__py3-none-any.whl → 1.4.40.post1__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/dmart.py +7 -3
- {dmart-1.4.40.dist-info → dmart-1.4.40.post1.dist-info}/METADATA +1 -1
- {dmart-1.4.40.dist-info → dmart-1.4.40.post1.dist-info}/RECORD +6 -6
- {dmart-1.4.40.dist-info → dmart-1.4.40.post1.dist-info}/WHEEL +0 -0
- {dmart-1.4.40.dist-info → dmart-1.4.40.post1.dist-info}/entry_points.txt +0 -0
- {dmart-1.4.40.dist-info → dmart-1.4.40.post1.dist-info}/top_level.txt +0 -0
dmart/dmart.py
CHANGED
|
@@ -447,13 +447,17 @@ def main():
|
|
|
447
447
|
sys.path.append(str(dmart_dir))
|
|
448
448
|
import cli
|
|
449
449
|
cli.main()
|
|
450
|
-
except ImportError:
|
|
450
|
+
except (ImportError, AttributeError):
|
|
451
451
|
# Fallback for local development
|
|
452
452
|
cli_path = Path(__file__).resolve().parent.parent / "cli"
|
|
453
453
|
if cli_path.exists():
|
|
454
454
|
sys.path.append(str(cli_path))
|
|
455
|
-
|
|
456
|
-
|
|
455
|
+
try:
|
|
456
|
+
import cli
|
|
457
|
+
cli.main()
|
|
458
|
+
except (ImportError, AttributeError):
|
|
459
|
+
print("Error: cli.py found but main() not found or import failed.")
|
|
460
|
+
sys.exit(1)
|
|
457
461
|
else:
|
|
458
462
|
print("Error: cli.py not found.")
|
|
459
463
|
sys.exit(1)
|
|
@@ -7,7 +7,7 @@ dmart/config.ini.sample,sha256=AADMdwG07zRV_cAGMoOorHQaqzTTL2WEIC_mPWjIslE,159
|
|
|
7
7
|
dmart/conftest.py,sha256=0ry_zeCmdBNLbm5q115b-pkOrUFYxdsOUXbIMkr7E5Y,362
|
|
8
8
|
dmart/curl.sh,sha256=lmHSFVr5ft-lc5Aq9LfvKyWfntrfYbnirhzx1EGjp_A,15743
|
|
9
9
|
dmart/data_generator.py,sha256=CnE-VHEeX7-lAXtqCgbRqR9WHjTuOgeiZcviYrHAmho,2287
|
|
10
|
-
dmart/dmart.py,sha256=
|
|
10
|
+
dmart/dmart.py,sha256=Ax4GRara7_21T2Jcbl8EwGfdezr9NTz7UucW_oVw-pA,24419
|
|
11
11
|
dmart/get_settings.py,sha256=Sbe2WCoiK398E7HY4SNLfDN_GmE8knR4M-YJWF31jcg,153
|
|
12
12
|
dmart/hypercorn_config.toml,sha256=-eryppEG8HBOM_KbFc4dTQePnpyfoW9ZG5aUATU_6yM,50
|
|
13
13
|
dmart/info.json,sha256=5Yz4tc5dEt5eVrM2LzLhXgN8vGvE0aDbbbEEaGDsD5k,123
|
|
@@ -280,8 +280,8 @@ dmart/utils/ticket_sys_utils.py,sha256=9QAlW2iiy8KyxQRBDj_WmzS5kKb0aYJmGwd4qzmGV
|
|
|
280
280
|
dmart/utils/web_notifier.py,sha256=QM87VVid2grC5lK3NdS1yzz0z1wXljr4GChJOeK86W4,843
|
|
281
281
|
dmart/utils/templates/activation.html.j2,sha256=XAMKCdoqONoc4ZQucD0yV-Pg5DlHHASZrTVItNS-iBE,640
|
|
282
282
|
dmart/utils/templates/reminder.html.j2,sha256=aoS8bTs56q4hjAZKsb0jV9c-PIURBELuBOpT_qPZNVU,639
|
|
283
|
-
dmart-1.4.40.dist-info/METADATA,sha256=
|
|
284
|
-
dmart-1.4.40.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
285
|
-
dmart-1.4.40.dist-info/entry_points.txt,sha256=N832M4wG8d2GDw1xztKRVM3TnxpY2QDzvdFE8XaWaG8,43
|
|
286
|
-
dmart-1.4.40.dist-info/top_level.txt,sha256=zJo4qk9fUW0BGIR9f4DCfpxaXbvQXH9izIOom6JsyAo,6
|
|
287
|
-
dmart-1.4.40.dist-info/RECORD,,
|
|
283
|
+
dmart-1.4.40.post1.dist-info/METADATA,sha256=dRF5fMCJ7hyZsIKXGG6o5e5H00JxS8JkqucCNR4aINc,2577
|
|
284
|
+
dmart-1.4.40.post1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
285
|
+
dmart-1.4.40.post1.dist-info/entry_points.txt,sha256=N832M4wG8d2GDw1xztKRVM3TnxpY2QDzvdFE8XaWaG8,43
|
|
286
|
+
dmart-1.4.40.post1.dist-info/top_level.txt,sha256=zJo4qk9fUW0BGIR9f4DCfpxaXbvQXH9izIOom6JsyAo,6
|
|
287
|
+
dmart-1.4.40.post1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|