Commit 5a187f1b authored by Laurent Bachelier's avatar Laurent Bachelier 🐧 Committed by Vincent A

config: SQLiteConfig Python 3 compatibility

parent 868957f8
......@@ -26,6 +26,8 @@ from collections import Mapping, MutableMapping
import yaml
from six import PY2
from import unicode
from .extra import time_buffer
from .iconfig import ConfigError, IConfig
from .yamlconfig import WeboobDumper
......@@ -142,7 +144,7 @@ class SQLiteConfig(IConfig):
target = os.path.splitext(self.path)[0] + '.sql'
with tempfile.NamedTemporaryFile(dir=os.path.dirname(self.path), delete=False) as f:
for line in
os.rename(, target)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment