correct order
This commit is contained in:
parent
d318b79b99
commit
14deeca57a
@ -62,9 +62,9 @@ func UpsConnect() {
|
||||
if u.Name == viper.GetString("Ups.Name") {
|
||||
ups = u
|
||||
Connected = true
|
||||
UpsReadVars()
|
||||
syslog.Notice("UPS connected")
|
||||
events.FireEvent("ups_connected")
|
||||
UpsReadVars()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user