heroku logger测试

This commit is contained in:
MarkusJoe
2022-02-16 13:21:54 +08:00
parent 0abb018283
commit 84aa897722
2 files changed
+3 -5

No files matched your search

+2 -2
View File
@@ -134,8 +134,8 @@ def single_download(url):
if __name__ != '__main__':
if os.path.exists('./app.py') and not os.path.exists('./bin/log'):
os.mkdir('./bin/log')
if os.path.exists('./app.py') and not os.path.exists('./log'):
os.mkdir('./log')
if not os.path.exists('./bin/assets/theme.db'):
logger.error('没有检测到本地主题数据库即将开始下载')
Check().download()