diff --git a/foundation/www/__pycache__/__init__.py b/foundation/www/__pycache__/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/foundation/www/service_providers.py b/foundation/www/service_providers.py index 9a1718ef..2982cf8b 100644 --- a/foundation/www/service_providers.py +++ b/foundation/www/service_providers.py @@ -57,8 +57,8 @@ def get_context(context): context.individual_members = frappe.get_all('Service Provider', 'title, introduction, `image`, route', filters) - if context.individual_members: - context.has_individual_member = 1 + if context.individual_members: + context.has_individual_member = 1 else: context.individual_members.append(dict( title='Your Company',