Commit c52de791 authored by Kristopher Ruzic's avatar Kristopher Ruzic

Fix typo

parent b1fd9bc7
...@@ -37,7 +37,7 @@ def get_connection_information(): ...@@ -37,7 +37,7 @@ def get_connection_information():
def check_tables(): def check_tables():
conn = sqlite3.connect("/opt/slapos/slapproxy.db") conn = sqlite3.connect("/opt/slapos/slapproxy.db")
cur = conn.cursor() cur = conn.cursor()
qry = cur.execut("SELECT CASE WHEN tbl_name = 'partition11' THEN 1 ELSE 0 END FROM sqlite_master WHERE tbl_name = 'partition11' AND type = 'table'") qry = cur.execute("SELECT CASE WHEN tbl_name = 'partition11' THEN 1 ELSE 0 END FROM sqlite_master WHERE tbl_name = 'partition11' AND type = 'table'")
if qry: if qry:
pass pass
...@@ -114,4 +114,4 @@ def main(argv): ...@@ -114,4 +114,4 @@ def main(argv):
dump() dump()
if __name__ == "__main__": if __name__ == "__main__":
main(sys.argv[1:]) main(sys.argv[1:])
\ No newline at end of file
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