oops
This commit is contained in:
parent
80a07f768d
commit
ceb73b4e92
|
@ -17,7 +17,7 @@ func SanitiseFilename(filename string) (newName string, e error) {
|
|||
}
|
||||
|
||||
func DirOf(filename string) (dirname string, e error) {
|
||||
r, e := regexp.Compile(`[^\ ]+$`)
|
||||
r, e := regexp.Compile(`[^\\]+$`)
|
||||
if e != nil {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue