Python Reload default database if connection fails

后端 未结 0 1170
轮回少年
轮回少年 2020-12-10 03:02

I have this function to connect to the db sqlite or postgresql when my app start.

def conn_str(self):
    
    cfg_rel_path = os.path.join(os.sep, \'pyarchini         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题