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