From 70dcc8e75dcf9371127e96698aa789c22b8cb765 Mon Sep 17 00:00:00 2001 From: Kyle Gabriel Date: Fri, 11 Oct 2024 07:58:40 -0400 Subject: [PATCH] remove crudini requirement --- install/requirements.txt | 1 - mycodo/config.py | 6 ------ 2 files changed, 7 deletions(-) diff --git a/install/requirements.txt b/install/requirements.txt index 657ccf0cb..a9a747d68 100644 --- a/install/requirements.txt +++ b/install/requirements.txt @@ -2,7 +2,6 @@ alembic==1.13.1 argparse==1.4.0 bcrypt==4.1.2 -crudini==0.9.5 distro==1.9.0 email_validator==2.1.0.post1 filelock==3.13.1 diff --git a/mycodo/config.py b/mycodo/config.py index b3ef17d6e..2b683b8cf 100644 --- a/mycodo/config.py +++ b/mycodo/config.py @@ -48,12 +48,6 @@ except: MYCODO_DB_PATH = f'sqlite:///{SQL_DATABASE_MYCODO}' -try: - cmd = f'/opt/Mycodo/env/bin/crudini --set /opt/Mycodo/alembic_db/alembic.ini alembic sqlalchemy.url {MYCODO_DB_PATH}' - subprocess.Popen(cmd, shell=True) -except: - pass - # Misc paths PATH_1WIRE = '/sys/bus/w1/devices/' PATH_CONTROLLERS = os.path.join(INSTALL_DIRECTORY, 'mycodo/controllers')