mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Format code with Black
This commit is contained in:
parent
fef8a557d2
commit
128464d43f
18 changed files with 697 additions and 604 deletions
11
run.py
11
run.py
|
@ -5,7 +5,8 @@ from setup.args import PORT, ADDRESS, WORKERS, DEBUG
|
|||
from setup.configuration import Configuration
|
||||
|
||||
|
||||
print("""
|
||||
print(
|
||||
"""
|
||||
:::::::: :::: ::: ::: ::: ::: ::: ::::::::: ::::::::: ::::::::
|
||||
:+: :+: :+:+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+:
|
||||
+:+ +:+ :+:+:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+
|
||||
|
@ -15,7 +16,8 @@ print("""
|
|||
######## ### #### ########## ### ########## ######### ######### ########
|
||||
|
||||
Created by Fluffy Bean - Version 23.04.06
|
||||
""")
|
||||
"""
|
||||
)
|
||||
|
||||
|
||||
# Run pre-startup checks and load configuration
|
||||
|
@ -24,6 +26,7 @@ Configuration()
|
|||
|
||||
if DEBUG:
|
||||
from gallery import create_app
|
||||
|
||||
create_app().run(host=ADDRESS, port=PORT, debug=True, threaded=True)
|
||||
else:
|
||||
from setup.runner import OnlyLegs # pylint: disable=C0412
|
||||
|
@ -33,8 +36,8 @@ else:
|
|||
sys.argv = [sys.argv[0]]
|
||||
|
||||
options = {
|
||||
'bind': f'{ADDRESS}:{PORT}',
|
||||
'workers': WORKERS,
|
||||
"bind": f"{ADDRESS}:{PORT}",
|
||||
"workers": WORKERS,
|
||||
}
|
||||
|
||||
OnlyLegs(options).run()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue