mirror of
https://github.com/munki/munki.git
synced 2026-04-23 21:40:25 -05:00
Clean up Media_db.db sqlite query.
This commit is contained in:
@@ -220,7 +220,7 @@ def getPayloadInfo(dirpath):
|
||||
if os.path.exists(db_path):
|
||||
conn = sqlite3.connect(db_path)
|
||||
c = conn.cursor()
|
||||
c.execute("""SELECT value from PayloadData where PayloadData.key = 'PayloadInfo'""")
|
||||
c.execute("""SELECT value FROM PayloadData WHERE PayloadData.key = 'PayloadInfo'""")
|
||||
result = c.fetchone()
|
||||
c.close()
|
||||
if result:
|
||||
|
||||
Reference in New Issue
Block a user