frappe/frappe#478, removed instances of .fields
diff --git a/erpnext/startup/boot.py b/erpnext/startup/boot.py
index 6624b1d..973b742 100644
--- a/erpnext/startup/boot.py
+++ b/erpnext/startup/boot.py
@@ -10,7 +10,7 @@
import frappe
bootinfo['custom_css'] = frappe.db.get_value('Style Settings', None, 'custom_css') or ''
- bootinfo['website_settings'] = frappe.model.getsingle('Website Settings')
+ bootinfo['website_settings'] = frappe.get_doc('Website Settings')
if frappe.session['user']!='Guest':
bootinfo['letter_heads'] = get_letter_heads()