Minho %!s(int64=8) %!d(string=hai) anos
pai
achega
b5324092e1
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      commands/command.go

+ 1 - 0
commands/command.go

@@ -90,6 +90,7 @@ func RegisterLogger(log string) {
 	if _, err := os.Stat(logPath); os.IsNotExist(err) {
 
 		os.MkdirAll(log, 0777)
+		logPath = strings.Replace(logPath,"\\","/","")
 
 		if f, err := os.Create(logPath); err == nil {
 			f.Close()