From d9de9551d2c7169a1aba296b09587fb972e1cfc5 Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Tue, 1 Oct 2013 23:58:38 +1300 Subject: [PATCH] removed core from sys.path @cybojenix --- cloudbot.py | 2 +- core/bot.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/cloudbot.py b/cloudbot.py index c02d2a0..4afaa11 100644 --- a/cloudbot.py +++ b/cloudbot.py @@ -8,7 +8,7 @@ import sys import time # set up enviroment -sys.path += ['plugins', 'lib', 'core'] # add stuff to the sys.path for easy imports +sys.path += ['plugins', 'lib'] # add stuff to the sys.path for easy imports os.chdir(sys.path[0] or '.') # do stuff relative to the install directory print 'CloudBot REFRESH ' diff --git a/core/bot.py b/core/bot.py index 828ed73..02d2706 100644 --- a/core/bot.py +++ b/core/bot.py @@ -2,10 +2,8 @@ import time import logging import re import os -import sys -import config -import irc +from core import config, irc def clean_name(n):