Skip to content

Commit

Permalink
Whoops.
Browse files Browse the repository at this point in the history
  • Loading branch information
sondregronas committed Jul 26, 2024
1 parent acdea28 commit bbab57d
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions BookingSystem/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,20 +148,19 @@ def __init__(self):
self.application = create_app()
super().__init__()

def load_config(self):
config = {key: value for key, value in self.options.items()
if key in self.cfg.settings and value is not None}
for key, value in config.items():
self.cfg.set(key.lower(), value)

def load_config(self):
config = {key: value for key, value in self.options.items()
if key in self.cfg.settings and value is not None}
for key, value in config.items():
self.cfg.set(key.lower(), value)


def load(self):
return self.application
def load(self):
return self.application


app = App()
except Exception as e:
logger.error(e)
start_routine()
app = create_app()

Expand Down

0 comments on commit bbab57d

Please sign in to comment.