♻️ 重构(imaotai_login.py):简化了获取位置输入的代码行

This commit is contained in:
shitao 2024-03-07 14:52:03 +08:00
parent 88edcba09c
commit 72729dade8

View File

@ -127,9 +127,7 @@ def login(mobile: str, v_code: str):
def get_location():
while 1:
location = input(
"请输入精确小区位置,例如[小区名称],为你自动预约附近的门店:"
).strip()
location = input("请输入精确小区位置,例如[小区名称],为你自动预约附近的门店:").strip()
selects = select_geo(location)
a = 0