summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2024-07-03 00:23:57 +0200
committercos <cos>2024-07-03 00:24:09 +0200
commit6cc2e77922bc9c7718255b94d7b1436fbb99f754 (patch)
tree4949bbae80761e78afa6a85c40ece154b684afc5
parent399d622d7e558b0bad558e89141062e41371b3ec (diff)
downloadAntennaPodDbFixer-6cc2e77922bc9c7718255b94d7b1436fbb99f754.zip
Clean-up some spilled red paint
-rwxr-xr-xAntennaPodDbFixer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/AntennaPodDbFixer.py b/AntennaPodDbFixer.py
index b4c2705..abbfbf9 100755
--- a/AntennaPodDbFixer.py
+++ b/AntennaPodDbFixer.py
@@ -65,7 +65,7 @@ for table in tables:
table = table["name"]
print("Copying " + table + "...")
columns = query(emptyPath, "SELECT GROUP_CONCAT(NAME,',') AS columns FROM PRAGMA_TABLE_INFO('" + table + "')")[0]["columns"]
-
+
query(outputPath, "DELETE FROM " + table)
query(outputPath, "attach '" + corruptedPath + "' AS old; INSERT INTO main." + table + " SELECT " + columns + " from old." + table + ";")
print()