mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
parent
ceda9c597c
commit
b5aab16bf5
@ -107,9 +107,9 @@ class Application(BaseApplication):
|
||||
"""
|
||||
|
||||
try:
|
||||
cfg = self.get_config_from_module_name(module_name=location)
|
||||
except ImportError:
|
||||
cfg = self.get_config_from_filename(filename=location)
|
||||
except ImportError:
|
||||
cfg = self.get_config_from_module_name(module_name=location)
|
||||
|
||||
for k, v in cfg.items():
|
||||
# Ignore unknown names
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user