state: remove unused params

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-09-13 18:01:23 +03:00
parent 87e82daad2
commit dc344056c5
+1 -3
View File
@@ -58,9 +58,7 @@ class State(object):
return actual.split('.')[0] != md5.split('.')[0]
def load(self):
db = sqlite3.connect(self.state_file,
check_same_thread=False,
timeout=20)
db = sqlite3.connect(self.state_file)
c = db.cursor()
# Check that the state file is indeed a database
cmd = "CREATE TABLE IF NOT EXISTS {} ({})"