Skip to content
Snippets Groups Projects
Commit b018d777 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Update db path

parent 53fe5947
No related branches found
No related tags found
2 merge requests!147Merge previous default branch feat-cod-rmq into main,!126Adding user state initialize script
...@@ -19,7 +19,7 @@ today = datetime.now() ...@@ -19,7 +19,7 @@ today = datetime.now()
# Chunk size for insert into db # Chunk size for insert into db
size = 1000 size = 1000
db = dataset.connect(f"sqlite:///prod_rmq_agents/{rcfg.db_path}/user_reg.db") db = dataset.connect(f"sqlite:///{rcfg.db_path}/user_reg.db")
table = db["user_state"] table = db["user_state"]
if table.__len__() > 0 and not args.force: if table.__len__() > 0 and not args.force:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment