-
Notifications
You must be signed in to change notification settings - Fork 5
fix(flake8): Fix flake8 errors in app.py. #9
base: main
Are you sure you want to change the base?
Conversation
if video_data['processed'] == False and video_data['processing'] == False: | ||
if video_data['processed'] is False and video_data['processing'] is False: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these do not work if you use "is" we had to use "=="
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noted. Although I am failing to understand why it is not working. Is it in more cases than just here? Going through debugging at this line, the if block is entered for an unprocessed, and not being processed video, and not entered if the video is processing or processed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please just use "==" instead of "is"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please can you resolve all conflicts, then I am happy to merge this
Conflicts resolved. Do you want me to revert the |
@James-Makela does the "is" statement work for you? if it does then we can leave it. |
Fixes Required: