unzip in current location

This commit is contained in:
Zack Scholl 2018-09-21 22:00:36 -07:00
parent 11ab8a8078
commit c4cfa9b07f
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ func receive(c *websocket.Conn, codephrase string) (err error) {
c.WriteMessage(websocket.BinaryMessage, []byte("ok"))
// open directory
if fstats.IsDir {
err = zipper.UnzipFile(fstats.SentName, fstats.Name)
err = zipper.UnzipFile(fstats.SentName, ".")
} else {
err = nil
}