Commit 42cdb535 authored by Your Name's avatar Your Name

Fix import error: add missing get_config() function

The contact form and Tor status endpoints were trying to import get_config()
from aisbf.config, but this function didn't exist. Add it as a simple wrapper
that returns the already initialized global config instance.

Fixes the error: cannot import name 'get_config' from 'aisbf.config'
parent 10332149
...@@ -848,3 +848,6 @@ class Config: ...@@ -848,3 +848,6 @@ class Config:
return self.aisbf return self.aisbf
config = Config() config = Config()
def get_config():
return config
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment