weather: fix ipinfo undef err

This commit is contained in:
2 * r + 2 * t 2025-06-25 16:56:26 +10:00
parent e79895b8f2
commit 7223622933

View file

@ -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 ?? ""
}
}