From 14ef79f2c0c2def00e6c2979ff45b171c748d8e5 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Sat, 15 Feb 2025 14:52:13 -0500 Subject: [PATCH] Change quoting style on SQLite3 load_extension() call --- lib/nexrad/db.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/nexrad/db.py b/lib/nexrad/db.py index c7f8e60..e207ce8 100644 --- a/lib/nexrad/db.py +++ b/lib/nexrad/db.py @@ -108,8 +108,8 @@ class Database(): db.row_factory = sqlite3.Row db.enable_load_extension(True) - db.execute('select load_extension("mod_spatialite.so.8")') - db.execute('select InitSpatialMetadata(1)') + db.execute("select load_extension('mod_spatialite.so.8')") + db.execute("select InitSpatialMetadata(1)") return Database(db)