后端/activity适配新的location格式
This commit is contained in:
parent
6d9c34df7f
commit
f5a9d3efb3
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ def shop_list():
|
|||
def activity():
|
||||
from mower.solvers.navigation.activity import ActivityNavigation
|
||||
|
||||
location = ActivityNavigation.location
|
||||
location = ActivityNavigation.location["normal"]
|
||||
if isinstance(location, dict):
|
||||
return list(location.keys())
|
||||
elif isinstance(location, list):
|
||||
|
|
Loading…
Add table
Reference in a new issue