Archived
修复了在heroku的python无法主动创建文件夹而导致错误的bug
This commit is contained in:
3 files changed
+3
-3
No files matched your search
@@ -134,8 +134,8 @@ def single_download(url):
|
||||
|
||||
|
||||
if __name__ != '__main__':
|
||||
if not os.path.exists('./log'):
|
||||
os.mkdir('./log')
|
||||
if not os.path.exists('./bin/log'):
|
||||
os.mkdir('./bin/log')
|
||||
if not os.path.exists('./bin/assets/theme.db'):
|
||||
logger.error('没有检测到本地主题数据库即将开始下载')
|
||||
Check().download()
|
||||
Reference in New Issue
Block a user