aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pomu/util/query.py')
-rw-r--r--pomu/util/query.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pomu/util/query.py b/pomu/util/query.py
index 872e0a3..66ddf7a 100644
--- a/pomu/util/query.py
+++ b/pomu/util/query.py
@@ -56,6 +56,6 @@ class QueryContext:
def __enter__(self):
self.map_old = {x: query.set(x, self.map[x]) for x in self.map}
- def __exit__(self):
+ def __exit__(self, ex_type, ex_val, tb):
for x, y in self.map_old.items():
query.set(x, y)