add Gpslog log
This commit is contained in:
@ -15,7 +15,7 @@ def run_db_query(query):
|
||||
"""
|
||||
try:
|
||||
cmd = [
|
||||
'docker-compose', 'exec', '-T', 'db',
|
||||
'docker-compose', 'exec', '-T', 'postgres-db',
|
||||
'psql', '-U', 'admin', '-d', 'rogdb',
|
||||
'-c', query
|
||||
]
|
||||
@ -23,8 +23,7 @@ def run_db_query(query):
|
||||
result = subprocess.run(
|
||||
cmd,
|
||||
capture_output=True,
|
||||
text=True,
|
||||
cwd='/Volumes/PortableSSD1TB/main/GifuTabi/rogaining_srv_exdb-2/rogaining_srv'
|
||||
text=True
|
||||
)
|
||||
|
||||
if result.returncode == 0:
|
||||
|
||||
Reference in New Issue
Block a user