Skip to content

Commit

Permalink
Fix #160 (#162)
Browse files Browse the repository at this point in the history
fix docker issues
  • Loading branch information
rnehra01 authored and afeena committed Jun 27, 2017
1 parent 7a40933 commit 5b0ed9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tanner/session_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ async def delete_old_sessions(self, redis_client):
if not sess.is_expired():
continue
await sess.remove_associated_db()
await sess.remove_associated_env()
if sess.associated_env is not None:
await sess.remove_associated_env()
self.sessions.remove(sess)
try:
await redis_client.set(sess.get_uuid(), sess.to_json())
Expand Down

0 comments on commit 5b0ed9c

Please sign in to comment.