Commit dad0ff97 authored by 张彦钊's avatar 张彦钊

fix function router bug

parent c3106702
......@@ -83,9 +83,9 @@ def router(device_id):
user_profile, is_exist = fetch_user_profile(device_id)
if is_exist:
predict(user_profile)
else:
print('Sorry, we don\'t have you.')
else:
predict(user_profile)
if __name__ == "__main__":
......
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