fix: More code cleanup
All checks were successful
Build Docker / Build Image (push) Successful in 2m9s
All checks were successful
Build Docker / Build Image (push) Successful in 2m9s
This commit is contained in:
@@ -17,8 +17,8 @@ def gunicornServer():
|
||||
|
||||
def load_config(self):
|
||||
for key, value in self.options.items():
|
||||
if key in self.cfg.settings and value is not None:
|
||||
self.cfg.set(key.lower(), value)
|
||||
if key in self.cfg.settings and value is not None: # type: ignore
|
||||
self.cfg.set(key.lower(), value) # type: ignore
|
||||
|
||||
def load(self):
|
||||
return self.application
|
||||
|
||||
Reference in New Issue
Block a user