更换数据库下载地址

This commit is contained in:
MarkusJoe
2022-04-16 11:29:53 +08:00
parent 1cd5009391
commit 25bd2bf7a3
1 file changed
+1 -1
+1 -1
View File
@@ -12,7 +12,7 @@ import requests
def download(): def download():
res = requests.get('https://filebase.vercel.app/download/data.db') res = requests.get('https://filebase.vercel.app/download/data.sqlite')
with open('./app/db/data.sqlite', 'wb') as fp: with open('./app/db/data.sqlite', 'wb') as fp:
fp.write(res.content) fp.write(res.content)