forked from endorphant/ttbp
minor cleanup
parent
fb0463df2d
commit
9376908cbd
|
@ -43,7 +43,7 @@ import tempfile
|
||||||
import subprocess
|
import subprocess
|
||||||
import time
|
import time
|
||||||
import json
|
import json
|
||||||
from email.mime.text import MIMEText;
|
from email.mime.text import MIMEText
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
import inflect
|
import inflect
|
||||||
|
|
|
@ -212,8 +212,4 @@ def input_yn(query):
|
||||||
while ans not in ["y", "n"]:
|
while ans not in ["y", "n"]:
|
||||||
ans = raw_input("'y' or 'n' please: ")
|
ans = raw_input("'y' or 'n' please: ")
|
||||||
|
|
||||||
if ans == "y":
|
return ans == "y"
|
||||||
return True
|
|
||||||
else:
|
|
||||||
return False
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue