correct videopath to delete
This commit is contained in:
1 parent
2a098527bd
commit
98c5211020
1 file changed
+2
-1
+2
-1
@@ -457,7 +457,8 @@ func addToVideoHandlers() {
|
||||
return database.ManualSuccessResponse(err)
|
||||
}
|
||||
|
||||
assembledPath := database.SettingsVideoPrefix + "/" + vidpath
|
||||
sett, videoprefix, _ := database.GetSettings()
|
||||
assembledPath := videoprefix + sett.VideoPath + vidpath
|
||||
|
||||
err = os.Remove(assembledPath)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user