correctly do relative paths in windows

This commit is contained in:
Zack Scholl 2018-06-26 07:50:14 -07:00
parent fa522c3e54
commit 13bf5994dc
1 changed files with 1 additions and 0 deletions

View File

@ -142,6 +142,7 @@ func NewConnection(config *AppConfig) (*Connection, error) {
// check wether the file is a dir
info, err := os.Stat(config.File)
if err != nil {
log.Error(err)
return c, err
}