Skip to content

Commit

Permalink
Schoonheidsfoutje
Browse files Browse the repository at this point in the history
  • Loading branch information
Oele Geirnaert authored and Oele Geirnaert committed May 6, 2019
1 parent 17e6941 commit 995e6be
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dt_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ def str2bool(v):

def ask_yes_no_question(question):
answer = input('%s (y/n) ' %question)
if str2bool(answer):
return True
return False

return str2bool(answer)

def check_if_json(str):
if "<html>" in str:
print(str)
Expand Down

0 comments on commit 995e6be

Please sign in to comment.