m-ric HF staff commited on
Commit
3494381
·
verified ·
1 Parent(s): 6351c15

Update tool.py

Browse files
Files changed (1) hide show
  1. tool.py +2 -1
tool.py CHANGED
@@ -32,4 +32,5 @@ class SimpleTool(Tool):
32
  )
33
  return directions_result[0]["legs"][0]["duration"]["text"]
34
  except Exception as e:
35
- print(e, directions_result)
 
 
32
  )
33
  return directions_result[0]["legs"][0]["duration"]["text"]
34
  except Exception as e:
35
+ print(e, directions_result)
36
+ return e