fix sql err
This commit is contained in:
parent
106f6adc59
commit
4f5bb3776c
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ def test_remove_before(tmp_path, process, disable_extractors_dict):
|
||||||
|
|
||||||
conn = sqlite3.connect("index.sqlite3")
|
conn = sqlite3.connect("index.sqlite3")
|
||||||
c = conn.cursor()
|
c = conn.cursor()
|
||||||
timestamp = c.execute("SELECT timestamp FROM core_snapshot ORDER BY timestamp DSC").fetchall()
|
timestamp = c.execute("SELECT timestamp FROM core_snapshot ORDER BY timestamp DESC").fetchall()
|
||||||
conn.commit()
|
conn.commit()
|
||||||
conn.close()
|
conn.close()
|
||||||
|
|
||||||
|
@ -118,7 +118,7 @@ def test_remove_after(tmp_path, process, disable_extractors_dict):
|
||||||
|
|
||||||
conn = sqlite3.connect("index.sqlite3")
|
conn = sqlite3.connect("index.sqlite3")
|
||||||
c = conn.cursor()
|
c = conn.cursor()
|
||||||
timestamp = c.execute("SELECT timestamp FROM core_snapshot ORDER BY timestamp DSC").fetchall()
|
timestamp = c.execute("SELECT timestamp FROM core_snapshot ORDER BY timestamp DESC").fetchall()
|
||||||
conn.commit()
|
conn.commit()
|
||||||
conn.close()
|
conn.close()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue