Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some login exceptions #33

Merged
merged 2 commits into from
Jan 16, 2022
Merged

Fix some login exceptions #33

merged 2 commits into from
Jan 16, 2022

Conversation

mirusu400
Copy link
Contributor

It seems that twitter checks account duplication, but not always.
We can check this by subtasks from response json object, but just pass the exceptions should be work too.

@Ryu1845
Copy link
Collaborator

Ryu1845 commented Jan 16, 2022

If we're going to ignore the the error I'd rather use an if statement i.e.

output_flow = request_flow.json()
if "flow_token" in output_flow.keys():
    self.flow_token = output_flow["flow_token"] 

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@Ryu1845 Ryu1845 merged commit 9013064 into HoloArchivists:main Jan 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants