Updated avatar refresh

This commit is contained in:
2017-07-18 07:23:48 +02:00
parent 1706ef9bc4
commit 5d0e7911d8
4 changed files with 59 additions and 125 deletions

View File

@ -4,6 +4,7 @@ import (
"flag"
"github.com/animenotifier/arn"
"github.com/animenotifier/avatar/lib"
)
// Shell parameters
@ -26,7 +27,7 @@ func InvokeShellArgs() bool {
panic(err)
}
Work(user)
lib.RefreshAvatar(user)
return true
}
@ -37,7 +38,7 @@ func InvokeShellArgs() bool {
panic(err)
}
Work(user)
lib.RefreshAvatar(user)
return true
}