Skip to content

Commit

Permalink
calling the load_vars() function in the constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Shending-Help authored Oct 6, 2022
1 parent 7dc9975 commit 1ec134f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robyn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(self, file_object: str) -> None:
self.headers = []
self.directories = []
self.event_handlers = {}
self.load_var = load_vars()
load_vars()
self._config_logger()

def _add_route(self, route_type, endpoint, handler, const=False):
Expand Down

0 comments on commit 1ec134f

Please sign in to comment.