1 parent b7baca4 commit 34e7cbeCopy full SHA for 34e7cbe
1 file changed
home/notion.py
@@ -238,6 +238,12 @@ def parse_invite_wedding_results(results):
238
def parse_album_results(results, auth_params):
239
parsed_results = []
240
for result in results:
241
+ # check for "#hidden" checkbox
242
+ is_hidden = result['properties'].get('Hidden', {}).get('checkbox', False)
243
+
244
+ if is_hidden:
245
+ continue
246
247
url_path = result['properties']['URL']['url'].removeprefix("img/")
248
parsed_result = {
249
"order": result['properties']['Order']['number'],
0 commit comments