From 59ff8fad22f587c460ed99e943e1faae8e11b2c8 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Wed, 20 Jan 2010 21:45:18 -0200 Subject: [PATCH] Ok, kill me now --- mitterlib/network/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mitterlib/network/__init__.py b/mitterlib/network/__init__.py index 2aac990..3c3d5af 100644 --- a/mitterlib/network/__init__.py +++ b/mitterlib/network/__init__.py @@ -126,6 +126,8 @@ class Networks(object): _log.debug('Operations %d, max %d', self._operations, max_count) if self._operations > max_count: self._options.save() + self._operations = 0 + _log.debug('Config file saved') return def settings(self):