s+: format and check
This commit is contained in:
parent
fa1fff9602
commit
f6de01a029
|
@ -1054,7 +1054,9 @@ def surplus(query: Query | str, behaviour: Behaviour) -> Result[str]:
|
|||
print(f"debug: cli: {latlong.get()=}", file=behaviour.stderr)
|
||||
|
||||
try:
|
||||
pluscode: str = _PlusCode_encode(lat=latlong.get().latitude, lon=latlong.get().longitude)
|
||||
pluscode: str = _PlusCode_encode(
|
||||
lat=latlong.get().latitude, lon=latlong.get().longitude
|
||||
)
|
||||
|
||||
except Exception as exc:
|
||||
return Result[str]("", error=exc)
|
||||
|
|
Loading…
Reference in a new issue