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
eaed1e45
Commit
eaed1e45
authored
Jan 31, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of github.com:purerosefallen/shadowban-eu-backend into steve
parents
2303283c
92216cd6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
backend.py
backend.py
+1
-1
requirements.txt
requirements.txt
+5
-1
No files found.
backend.py
View file @
eaed1e45
...
@@ -605,7 +605,7 @@ def run():
...
@@ -605,7 +605,7 @@ def run():
global
db
global
db
db
=
None
db
=
None
if
args
.
mongo_host
is
not
None
:
if
args
.
mongo_host
is
not
None
:
db
=
connect
(
host
=
args
.
mongo_host
,
port
=
args
.
mongo_port
)
db
=
connect
(
host
=
args
.
mongo_host
,
port
=
args
.
mongo_port
,
db
=
args
.
mongo_db
)
loop
=
asyncio
.
get_event_loop
()
loop
=
asyncio
.
get_event_loop
()
# loop.run_until_complete(login_accounts(accounts, args.cookie_dir))
# loop.run_until_complete(login_accounts(accounts, args.cookie_dir))
loop
.
run_until_complete
(
login_guests
())
loop
.
run_until_complete
(
login_guests
())
...
...
requirements.txt
View file @
eaed1e45
flask
flask
requests_oauthlib
requests_oauthlib
flask_cors
flask_cors
aiohttp
pymongo
bs4
==0.0.1
daemon
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