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
b2815b91
Commit
b2815b91
authored
Nov 29, 2019
by
Raphael Beer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Chore: pull in prod changes
parent
57ebf3b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
backend.py
backend.py
+2
-1
No files found.
backend.py
View file @
b2815b91
...
@@ -325,6 +325,7 @@ class TwitterSession:
...
@@ -325,6 +325,7 @@ class TwitterSession:
reference_session
=
next_session
()
reference_session
=
next_session
()
if
reference_session
is
None
:
if
reference_session
is
None
:
debug
(
'No reference session'
)
return
return
global
account_index
global
account_index
...
@@ -370,7 +371,7 @@ class TwitterSession:
...
@@ -370,7 +371,7 @@ class TwitterSession:
result
=
{
"timestamp"
:
time
.
time
()}
result
=
{
"timestamp"
:
time
.
time
()}
profile
=
{}
profile
=
{}
profile_raw
=
await
self
.
profile_raw
(
username
)
profile_raw
=
await
self
.
profile_raw
(
username
)
debug
(
str
(
profile_raw
))
debug
(
'Testing '
+
str
(
username
))
if
is_another_error
(
profile_raw
,
[
50
,
63
]):
if
is_another_error
(
profile_raw
,
[
50
,
63
]):
debug
(
"Other error:"
+
str
(
username
))
debug
(
"Other error:"
+
str
(
username
))
raise
UnexpectedApiError
raise
UnexpectedApiError
...
...
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