This commit is contained in:
Joe Steele
2024-06-28 08:58:25 -04:00
parent c1a1341c49
commit d8019d5565
+1 -1
View File
@@ -681,7 +681,7 @@ def write_to_database(data, local_outputs):
column_list=[]
print('write to database ...')
for x in inspect.getmembers(Posts):
if not (x[0].startswith('_') or 'metadata' in x[0] or 'registry' in x[0]):
if not (x[0].startswith('_') or 'metadata' in x[0] or 'registry' in x[0] or 'id' in x[0]):
column_list.append(x[0])
#cols = ["name", "comment", 'rating','picsURL','picsLocalpath','source','date','address',
# 'dictPostComplete','visitdate']