Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.

Commit 7442650

Browse files
committed
fix: update settings.py
1 parent 7bddcb2 commit 7442650

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

covid19/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
SECRET_KEY = 'jua+&*ti%!$hnt6zxndu09jw&oai1d+wb^znq&$kb&9_j6v60!'
2424

2525
# SECURITY WARNING: don't run with debug turned on in production!
26-
DEBUG = False
26+
DEBUG = True
2727

2828
ALLOWED_HOSTS = ['*']
2929

@@ -161,6 +161,6 @@
161161
# Setting of Crontab
162162
CRONJOBS = (
163163
# 每分钟抓取一次
164-
('*/1 * * * *', 'ncovapi.cron.crawl_dxy', [], {}, '>> %s/crontab.log' % LOGS_DIR),
164+
('*/1 * * * *', 'ncovapi.cron.crawl_dxy', [], {}, '>> %s/crontab.log' % LOGS_DIR)
165165
)
166166

0 commit comments

Comments
 (0)