Show More
@@ -173,6 +173,7 b' def ask_yes_no(prompt, default=None, interrupt=None):' | |||||
173 | except KeyboardInterrupt: |
|
173 | except KeyboardInterrupt: | |
174 | if interrupt: |
|
174 | if interrupt: | |
175 | ans = interrupt |
|
175 | ans = interrupt | |
|
176 | print("\r") | |||
176 | except EOFError: |
|
177 | except EOFError: | |
177 | if default in answers.keys(): |
|
178 | if default in answers.keys(): | |
178 | ans = default |
|
179 | ans = default |
General Comments 0
You need to be logged in to leave comments.
Login now