Corrected dev script to correctly use user-provided settings
This commit is contained in:
2
dev.py
2
dev.py
@@ -12,4 +12,4 @@ from puppetboard.default_settings import DEV_LISTEN_HOST, DEV_LISTEN_PORT
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
app.debug = True
|
app.debug = True
|
||||||
app.run(DEV_LISTEN_HOST, DEV_LISTEN_PORT)
|
app.run(app.config['DEV_LISTEN_HOST'], app.config['DEV_LISTEN_PORT'])
|
||||||
|
|||||||
Reference in New Issue
Block a user