Fix issue on windows

This commit is contained in:
Unknown 2014-03-26 09:22:08 -04:00
parent 409e4cde7a
commit 7ab94fe816
6 changed files with 18 additions and 17 deletions

View file

@ -80,7 +80,7 @@ func ExecDir() (string, error) {
if err != nil {
return "", err
}
return path.Dir(p), nil
return path.Dir(strings.Replace(p, "\\", "/", -1)), nil
}
var logLevels = map[string]string{