diff --git a/app.py b/app.py index 3f56380..b62ea4a 100644 --- a/app.py +++ b/app.py @@ -86,7 +86,20 @@ def process_content(entries, type): content_list = [] exh_type = None for entry in entries: - # Clear arrays + try: + if hasattr(entry, 'beta25'): + if entry.beta25 == "False": + print("false") + pass + else: + continue + else: + print("n/a") + pass + except AttributeError: + # Field is not present, so we process the entry. + pass + times = [] dates = [] if type == 'event': @@ -128,8 +141,8 @@ def process_content(entries, type): 'exh_type': exh_type } content_list.append(content) - print(content) - print("\n") + #print(content) + #print("\n") # Sort the content list by the 'title' key alphabetically content_list.sort(key=lambda x: x['title'].lower()) diff --git a/public/images/locations.zip b/public/images/locations.zip new file mode 100644 index 0000000..dd41e6a Binary files /dev/null and b/public/images/locations.zip differ diff --git a/public/images/support.zip b/public/images/support.zip new file mode 100644 index 0000000..a4a5eb9 Binary files /dev/null and b/public/images/support.zip differ