From f6de01a02915801acf96ebcdaa8aadfac2a7c2c3 Mon Sep 17 00:00:00 2001 From: Mark Joshwel Date: Tue, 5 Sep 2023 04:39:40 +0000 Subject: [PATCH] s+: format and check --- surplus/surplus.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/surplus/surplus.py b/surplus/surplus.py index aaa8334..3295275 100644 --- a/surplus/surplus.py +++ b/surplus/surplus.py @@ -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)