This website works better with JavaScript.
Home
Explore
Help
Sign In
etu
/
statusscreen
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Weather: fix out of bounds check
master
Elis Hirwing
2 years ago
parent
50b911465d
commit
63416829ee
Signed by:
etu
GPG Key ID:
D57EFA625C9A925F
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
statusscreen-weather.go
+ 1
- 1
statusscreen-weather.go
View File
@ -23,7 +23,7 @@ func (weather *Weather) GetOutput() []string {
parts
:=
strings
.
Split
(
weather
.
lastResponse
,
"\n"
)
if
len
(
parts
)
>
6
{
if
len
(
parts
)
>=
37
{
return
parts
[
:
37
]
}
Write
Preview
Loading…
Cancel
Save