mirror of
https://github.com/RicterZ/nhentai.git
synced 2026-04-08 10:40:22 +02:00
History reset as part of DMCA compliance. The project has been refactored into a generic, site-agnostic download framework. Site-specific logic lives in separate plugin packages. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
364 B
Python
17 lines
364 B
Python
# coding: utf-8
|
|
"""Runtime configuration store for the main package.
|
|
|
|
Plugins write their paths and settings here so that generic utilities
|
|
(e.g. db.py) can read them without hard-coding any plugin name.
|
|
"""
|
|
|
|
_runtime: dict = {}
|
|
|
|
|
|
def set(key: str, value) -> None:
|
|
_runtime[key] = value
|
|
|
|
|
|
def get(key: str, default=None):
|
|
return _runtime.get(key, default)
|