removed core from sys.path @cybojenix
This commit is contained in:
parent
d407915124
commit
d9de9551d2
2 changed files with 2 additions and 4 deletions
|
@ -8,7 +8,7 @@ import sys
|
||||||
import time
|
import time
|
||||||
|
|
||||||
# set up enviroment
|
# 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
|
os.chdir(sys.path[0] or '.') # do stuff relative to the install directory
|
||||||
|
|
||||||
print 'CloudBot REFRESH <http://git.io/cloudbotirc>'
|
print 'CloudBot REFRESH <http://git.io/cloudbotirc>'
|
||||||
|
|
|
@ -2,10 +2,8 @@ import time
|
||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
import os
|
import os
|
||||||
import sys
|
|
||||||
|
|
||||||
import config
|
from core import config, irc
|
||||||
import irc
|
|
||||||
|
|
||||||
|
|
||||||
def clean_name(n):
|
def clean_name(n):
|
||||||
|
|
Reference in a new issue