Skip to content

Commit

Permalink
remove crudini requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
kizniche committed Oct 11, 2024
1 parent bd6b6b6 commit 70dcc8e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion install/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions mycodo/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 70dcc8e

Please sign in to comment.