From 9a999d9f2f44a49252fc82507bfaae4536008512 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Wed, 30 Jun 2010 10:48:57 +0100 Subject: [PATCH] Now doesnt blow its guts if no local settings are defined --- settings.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/settings.py b/settings.py index 4a63f6c..01d6fda 100644 --- a/settings.py +++ b/settings.py @@ -123,4 +123,8 @@ REDDIT_PASSWD = '' HR_STAFF_GROUP = 'HR Staff' -from settingslocal import * +# try and import local settings +try: + from settingslocal import * +except: + pass