|
|
@@ -133,6 +133,7 @@ func Movie(c *movies.Collection) http.HandlerFunc {
|
|
133
|
133
|
}
|
|
134
|
134
|
|
|
135
|
135
|
if files := r.FormValue("files"); files != "" {
|
|
|
136
|
+ files = strings.ReplaceAll(files, "\r", "")
|
|
136
|
137
|
m.Files = strings.Split(files, "\n")
|
|
137
|
138
|
fmt.Println("Update with", m)
|
|
138
|
139
|
c.Update(m)
|