minor cleanup

master
nate 2017-12-03 20:05:04 -08:00
parent fb0463df2d
commit 9376908cbd
2 changed files with 2 additions and 6 deletions

View File

@ -43,7 +43,7 @@ import tempfile
import subprocess
import time
import json
from email.mime.text import MIMEText;
from email.mime.text import MIMEText
import datetime
import inflect

View File

@ -212,8 +212,4 @@ def input_yn(query):
while ans not in ["y", "n"]:
ans = raw_input("'y' or 'n' please: ")
if ans == "y":
return True
else:
return False
return ans == "y"