Fix files location in dump
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2020-06-19 22:47:59 +02:00
parent 0fcd031de9
commit d98b4dd4c4
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ func Dump(filename string) {
log.Criticalf("Error saving file: %s", err)
}
for fid, fcontent := range allFiles {
err = writeBytesToZip("allFiles/"+strconv.FormatInt(fid, 10), fcontent, dumpWriter)
err = writeBytesToZip("files/"+strconv.FormatInt(fid, 10), fcontent, dumpWriter)
if err != nil {
log.Criticalf("Error writing file %d: %s", fid, err)
}