From 722362293362d792ee582341ecb21c0c689f26d5 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 25 Jun 2025 16:56:26 +1000 Subject: weather: fix ipinfo undef err --- services/Weather.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services') diff --git a/services/Weather.qml b/services/Weather.qml index 29858eb..998fdb8 100644 --- a/services/Weather.qml +++ b/services/Weather.qml @@ -29,7 +29,7 @@ Singleton { command: ["curl", "ipinfo.io"] stdout: StdioCollector { - onStreamFinished: root.loc = JSON.parse(text).loc + onStreamFinished: root.loc = JSON.parse(text).loc ?? "" } } -- cgit v1.2.3-freya