summaryrefslogtreecommitdiff
path: root/python/skytools/scripting.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/skytools/scripting.py')
-rw-r--r--python/skytools/scripting.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/skytools/scripting.py b/python/skytools/scripting.py
index 8c1639c1..f9a69709 100644
--- a/python/skytools/scripting.py
+++ b/python/skytools/scripting.py
@@ -425,6 +425,7 @@ class DBScript(object):
if dbname in self.db_cache:
dbc = self.db_cache[dbname]
dbc.reset()
+ del self.db_cache[dbname]
def reset(self):
"Something bad happened, reset all connections."