mirror of
https://github.com/Sitoi/dailycheckin.git
synced 2024-11-17 13:48:03 +08:00
♻️ 重构(imaotai_login.py):简化了获取位置输入的代码行
This commit is contained in:
parent
88edcba09c
commit
72729dade8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user