Commit 0922aecc authored by 邱阿朋's avatar 邱阿朋

优化

parent a7b8b12c
...@@ -209,9 +209,6 @@ def main(): ...@@ -209,9 +209,6 @@ def main():
if __name__ == '__main__': if __name__ == '__main__':
try: try:
country = helper.get_input_with_default("国家", "usa") country = helper.get_input_with_default("国家", "usa")
if country is None:
raise Exception("请选择国家")
main() main()
except KeyboardInterrupt: except KeyboardInterrupt:
pass pass
......
...@@ -317,9 +317,6 @@ def main(): ...@@ -317,9 +317,6 @@ def main():
if __name__ == '__main__': if __name__ == '__main__':
try: try:
country = helper.get_input_with_default("国家", "usa") country = helper.get_input_with_default("国家", "usa")
if country is None:
raise Exception("请选择国家")
main() main()
except KeyboardInterrupt: except KeyboardInterrupt:
pass pass
......
...@@ -120,9 +120,6 @@ def main(): ...@@ -120,9 +120,6 @@ def main():
if __name__ == '__main__': if __name__ == '__main__':
try: try:
country = helper.get_input_with_default("国家", "usa") country = helper.get_input_with_default("国家", "usa")
if country is None:
raise Exception("请选择国家")
main() main()
except KeyboardInterrupt: except KeyboardInterrupt:
pass pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment