diff options
author | Frederick Muriuki Muriithi | 2025-04-11 17:21:53 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-04-11 17:21:53 -0500 |
commit | 5f5affae1dcbbcd83319abc1b801073a263d1546 (patch) | |
tree | 04412efa6241a32faf72e5b93964424910eadd16 /uploader/__init__.py | |
parent | 5eddcada30e8d6bbc4631103ae3fd96bdc6b134b (diff) | |
download | gn-uploader-5f5affae1dcbbcd83319abc1b801073a263d1546.tar.gz |
Fix bug: Provide empty defaults, and fix type.
Diffstat (limited to 'uploader/__init__.py')
-rw-r--r-- | uploader/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uploader/__init__.py b/uploader/__init__.py index e25fc5b..23e66c1 100644 --- a/uploader/__init__.py +++ b/uploader/__init__.py @@ -54,7 +54,7 @@ def setup_logging(app: Flask) -> Flask: return __log_gunicorn__(app) if bool(software) else __log_dev__(app) -def create_app(config: dir): +def create_app(config: dict = {}): """The application factory. config: dict |