conf migration
diff --git a/startup/boot.py b/startup/boot.py
index 886b805..20887f7 100644
--- a/startup/boot.py
+++ b/startup/boot.py
@@ -32,7 +32,7 @@
# load subscription info
- import conf
+ from webnotes import conf
for key in ['max_users', 'expires_on', 'max_space', 'status', 'commercial_support']:
if hasattr(conf, key): bootinfo[key] = getattr(conf, key)
@@ -53,4 +53,4 @@
ret = webnotes.conn.sql("""select name, content from `tabLetter Head`
where ifnull(disabled,0)=0""")
return dict(ret)
-
\ No newline at end of file
+
diff --git a/startup/event_handlers.py b/startup/event_handlers.py
index 57345f3..a333857 100644
--- a/startup/event_handlers.py
+++ b/startup/event_handlers.py
@@ -39,7 +39,7 @@
def check_if_expired():
"""check if account is expired. If expired, do not allow login"""
- import conf
+ from webnotes import conf
# check if expires_on is specified
if not hasattr(conf, 'expires_on'): return
@@ -75,4 +75,4 @@
"""add comment to feed"""
home.make_feed('Comment', doc.comment_doctype, doc.comment_docname, doc.comment_by,
'<i>"' + doc.comment + '"</i>', '#6B24B3')
-
\ No newline at end of file
+