diff --git a/services/Weather.qml b/services/Weather.qml index 29858eb3..998fdb80 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 ?? "" } }