diff --git a/ib-clearance.py b/ib-clearance.py index f8d7489..5f3648e 100755 --- a/ib-clearance.py +++ b/ib-clearance.py @@ -35,7 +35,7 @@ def get_data(conn): :param conn: Connection object """ try: - id = int(input("Please enter student ID: ")) + id = int(input("\nPlease enter student ID: ")) cur = conn.cursor() cur.execute("SELECT id, student_class, other FROM students") @@ -51,7 +51,7 @@ def get_data(conn): else: raise ValueError except ValueError: - print("Invalid ID, try again.") + print("\nInvalid ID, try again.") return get_data(conn) @@ -139,9 +139,9 @@ def main(): current_time = parse_time_string(time.strftime("%H:%M")) if finish_time == None: - print("Student has no lessons today, clear to leave.") + print("\nStudent has no lessons today, clear to leave.") elif finish_time < current_time: - print("Student has finished for today, clear to leave.") + print("\nStudent has finished for today, clear to leave.") else: print("\nStudent still has lessons, clearance not granted.")