This commit is contained in:
Jason
2026-04-11 00:04:09 -05:00
commit 7a2fffd62e
110 changed files with 51809 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import importlib.machinery
import importlib.util
import os
import sys
sys.path.insert(0, os.path.dirname(__file__))
def load_source(modname, filename):
loader = importlib.machinery.SourceFileLoader(modname, filename)
spec = importlib.util.spec_from_file_location(modname, filename, loader=loader)
module = importlib.util.module_from_spec(spec)
loader.exec_module(module)
return module
wsgi = load_source('wsgi', 'app.py')
application = wsgi.application