diff --git a/social.py b/social.py index 6ba1809..24278cc 100644 --- a/social.py +++ b/social.py @@ -682,7 +682,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']