Fixing build issues

This commit is contained in:
MichaelOultram 2015-07-27 22:52:45 +01:00
parent 634c948ddf
commit 4cfb1c19f9

View file

@ -155,7 +155,7 @@ var services []Service
func main() { func main() {
PerformStartupChecks() PerformStartupChecks()
services = []Service{Youtube{}} services = []Service{new(Youtube)}
if currentUser, err := user.Current(); err == nil { if currentUser, err := user.Current(); err == nil {
dj.homeDir = currentUser.HomeDir dj.homeDir = currentUser.HomeDir