im already so bored of this

This commit is contained in:
Al Beano 2017-05-30 19:04:18 +01:00
parent ceb73b4e92
commit c89e0cd4c0
1 changed files with 1 additions and 1 deletions

View File

@ -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
}