heroku logger测试

This commit is contained in:
MarkusJoe
2022-02-16 13:24:31 +08:00
parent 84aa897722
commit 05fe61b1fc
2 files changed
+1 -1

No files matched your search

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