mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-07-29 16:53:44 +00:00
Adjustment in application config
This commit is contained in:
@@ -5,7 +5,10 @@ import requests
|
||||
import urlparse
|
||||
from app import app
|
||||
|
||||
TIMEOUT = app.config['TIMEOUT']
|
||||
if 'TIMEOUT' in app.config.keys():
|
||||
TIMEOUT = app.config['TIMEOUT']
|
||||
else:
|
||||
TIMEOUT = 10
|
||||
|
||||
def auth_from_url(url):
|
||||
auth = None
|
||||
|
Reference in New Issue
Block a user