Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
shadowban-eu-backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
shadowban-eu-backend
Commits
7b39a4b4
Commit
7b39a4b4
authored
Dec 03, 2021
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename run
parent
190eacee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
backend.py
backend.py
+3
-3
No files found.
backend.py
View file @
7b39a4b4
...
@@ -638,7 +638,7 @@ if args.debug is not None:
...
@@ -638,7 +638,7 @@ if args.debug is not None:
ensure_dir
(
debug_dir
)
ensure_dir
(
debug_dir
)
debug_file
=
open
(
args
.
debug
,
"a"
)
debug_file
=
open
(
args
.
debug
,
"a"
)
def
run
():
def
start
():
global
db
global
db
db
=
None
db
=
None
if
args
.
mongo_host
is
not
None
:
if
args
.
mongo_host
is
not
None
:
...
@@ -651,9 +651,9 @@ def run():
...
@@ -651,9 +651,9 @@ def run():
if
args
.
daemon
:
if
args
.
daemon
:
with
daemon
.
DaemonContext
():
with
daemon
.
DaemonContext
():
run
()
start
()
else
:
else
:
run
()
start
()
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
web
.
run_app
(
app
,
host
=
args
.
host
,
port
=
args
.
port
)
web
.
run_app
(
app
,
host
=
args
.
host
,
port
=
args
.
port
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment