Commit e1dc3749 authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

python3: add raw prefix to sqlite isolation level

parent 03690f8d2b0a
......@@ -495,7 +495,7 @@
except OSError:
return None
con = sqlite3.connect(encoding.strfromlocal(self._path), timeout=30,
isolation_level="IMMEDIATE")
isolation_level=r"IMMEDIATE")
con.text_factory = bytes
return con
......
......@@ -240,7 +240,7 @@
except OSError:
return None
con = sqlite3.connect(encoding.strfromlocal(self._path), timeout=30,
isolation_level="IMMEDIATE")
isolation_level=r"IMMEDIATE")
con.text_factory = bytes
return con
......
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