radames commited on
Commit
dff981d
1 Parent(s): 24ca8de
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -252,7 +252,7 @@ async def sync_data():
252
  time = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
253
  cmd = f"git add . && git commit --amend -m 'update at {time}' && git push --force"
254
  print(cmd)
255
- # subprocess.Popen(cmd, cwd=DB_FOLDER, shell=True)
256
 
257
 
258
  app = FastAPI()
 
252
  time = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
253
  cmd = f"git add . && git commit --amend -m 'update at {time}' && git push --force"
254
  print(cmd)
255
+ subprocess.Popen(cmd, cwd=DB_FOLDER, shell=True)
256
 
257
 
258
  app = FastAPI()