We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
return (0,0,events.event) is present is almost every if/elif block (L214-L303).
return (0,0,events.event)
if
elif
This version is a bit more readable and avoid the repetition:
if events.event == Status.CUSTOM: return something_custom elif events.event == Status.OTHER_CUSTOM: return other_custom return 0, 0, events.event
I believe return (0,0,NO_EVENT) should be placed in the except ValueError block referenced in #4
return (0,0,NO_EVENT)
except ValueError
The text was updated successfully, but these errors were encountered:
return
Resolve #1, resolve #3, resolve #4 and resolve #5
55bf632
cc5ff6d
No branches or pull requests
return (0,0,events.event)
is present is almost everyif
/elif
block (L214-L303).This version is a bit more readable and avoid the repetition:
I believe
return (0,0,NO_EVENT)
should be placed in theexcept ValueError
block referenced in #4The text was updated successfully, but these errors were encountered: