From 05fe61b1fc1879d6cfdd212dd4607191f0ec244e Mon Sep 17 00:00:00 2001 From: MarkusJoe Date: Wed, 16 Feb 2022 13:24:31 +0800 Subject: [PATCH] =?UTF-8?q?heroku=20logger=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/utils/__init__.py | 2 +- log/.gitkeep | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 log/.gitkeep diff --git a/bin/utils/__init__.py b/bin/utils/__init__.py index 8c9ff79..75feb1f 100644 --- a/bin/utils/__init__.py +++ b/bin/utils/__init__.py @@ -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('没有检测到本地主题数据库即将开始下载') diff --git a/log/.gitkeep b/log/.gitkeep new file mode 100644 index 0000000..e69de29