Skip to content

Commit

Permalink
Rm blank lines to match style
Browse files Browse the repository at this point in the history
  • Loading branch information
machawk1 committed Apr 17, 2024
1 parent ae707ad commit ee2ed0d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -473,22 +473,17 @@ func aggregateTimemap(urir string, dttmp *time.Time, sess *Session) (basetm *lis

func parseURI(uri string) (urir string, err error) {
uescd, err := url.PathUnescape(uri)

if err != nil {
logError.Printf("Error Unescaping path (%s): %v", uri, err)
return
}

if !regs["isprtcl"].MatchString(uescd) {
uescd = "http://" + uescd
}

u, err := url.Parse(uescd)

if err == nil {
urir = u.String()
}

return
}

Expand Down

0 comments on commit ee2ed0d

Please sign in to comment.