misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli 2021-04-08 22:38:28 +02:00
commit d5fb7b6754
5 changed files with 28 additions and 13 deletions

View file

@ -7,6 +7,9 @@ import (
)
func (mod *Module) generateJSONGraph(bssid string) error {
mod.wLock.Lock()
defer mod.wLock.Unlock()
start := time.Now()
if err := mod.updateSettings(); err != nil {
return err