mirror of
https://github.com/DrEm-s/wireguard-windows-portable.git
synced 2021-10-28 23:07:29 +03:00
fix
This commit is contained in:
@@ -10,8 +10,6 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"golang.zx2c4.com/wireguard/windows/conf/dpapi"
|
||||
)
|
||||
|
||||
const configFileSuffix = ".conf.dpapi"
|
||||
@@ -75,7 +73,7 @@ func LoadFromPath(path string) (*Config, error) {
|
||||
// if err != nil {
|
||||
// return nil, err
|
||||
// }
|
||||
}
|
||||
// }
|
||||
return FromWgQuickWithUnknownEncoding(string(bytes), name)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user