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

Updated film.py #1359

Merged
merged 1 commit into from Jul 15, 2021
Merged

Updated film.py #1359

merged 1 commit into from Jul 15, 2021

Conversation

DBastrak
Copy link
Contributor

@DBastrak DBastrak commented Jul 9, 2021

Removes the need to add quotation marks in the user input which otherwise causes the program to loop at line 135 or crash at line 141.

Fixes #1358

Proposed Changes

  • Changes line 137 from
    i = eval(input("Review date (YYYY-MM-DD): "))
    to
    i = eval('"{}"'.format(input("Review date (YYYY-MM-DD): ")))
  • Changes line 141 from
    comment = eval(input("Comment: "))
    to
    comment = eval('"{}"'.format(input("Comment: ")))

Removes the need to add quotation marks in the user input which otherwise causes the program to loop at  line 135 or crash at line 141.
@nicholascar nicholascar merged commit c389cb7 into RDFLib:master Jul 15, 2021
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.

Unclear input requiremetns in film.py in examples
2 participants