24 lines
455 B
Python
24 lines
455 B
Python
__version__ = '0.2.0'
|
|
|
|
from . import logger
|
|
|
|
|
|
APP = None
|
|
|
|
def get_app():
|
|
return APP
|
|
|
|
def set_app(app):
|
|
global APP
|
|
|
|
APP = app
|
|
|
|
|
|
#import argparse
|
|
|
|
#parser = argparse.ArgumentParser(
|
|
#description="A generic LitePub relay (works with all LitePub consumers and Mastodon).",
|
|
#prog="python -m relay")
|
|
#parser.add_argument("-c", "--config", type=str, default="relay.yaml",
|
|
#metavar="<path>", help="the path to your config file")
|
|
#args = parser.parse_args()
|