Skip to content

Commit

Permalink
added session save after deletion #633
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Letter committed Aug 25, 2016
1 parent 22b71ad commit 6ee9f38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/slycat/web/server/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1774,6 +1774,7 @@ def get_remotes(hostname):
msg = "hostname session was found"
else:
session["sessions"][:] = [tup for tup in session["sessions"] if tup["hostname"] != hostname]
database.save(session)
except Exception as e:
cherrypy.log.error("could not save session for remotes %s" % e)
return {"status":status, "msg":msg}
Expand Down

0 comments on commit 6ee9f38

Please sign in to comment.