fix path
This commit is contained in:
@@ -2,7 +2,7 @@ from helpers import *
|
||||
import simplejson as json
|
||||
import org.bukkit as bukkit
|
||||
|
||||
chatgroups_filename = "plugins/RedstonerUtils.py.dir/files/chatgroups.json"
|
||||
chatgroups_filename = "plugins/redstoner-utils.py.dir/files/chatgroups.json"
|
||||
groups = {}
|
||||
cg_key = "."
|
||||
cg_toggle_list = []
|
||||
|
||||
@@ -8,7 +8,7 @@ import thread
|
||||
# pythonloader changes this for some reason..
|
||||
#sys.path += ['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/pymodules/python2.7']
|
||||
|
||||
reports_filename = "plugins/RedstonerUtils.py.dir/files/reports.json"
|
||||
reports_filename = "plugins/redstoner-utils.py.dir/files/reports.json"
|
||||
time_format = "%Y.%m.%d %H:%M"
|
||||
reports = []
|
||||
check_reports = True
|
||||
|
||||
@@ -4,7 +4,7 @@ from time import time
|
||||
from helpers import *
|
||||
from random import randrange
|
||||
|
||||
lol_filename = "plugins/RedstonerUtils.py.dir/files/lol.json"
|
||||
lol_filename = "plugins/redstoner-utils.py.dir/files/lol.json"
|
||||
lols = []
|
||||
timeout = 15
|
||||
last_msg = 0
|
||||
@@ -27,11 +27,11 @@ def save_lols():
|
||||
def add_lol(txt):
|
||||
lols.append(txt)
|
||||
save_lols()
|
||||
|
||||
|
||||
def del_lol(id):
|
||||
lols.pop(id)
|
||||
save_lols()
|
||||
|
||||
|
||||
def print_lol(sender, id):
|
||||
global last_msg
|
||||
if time() - last_msg > timeout:
|
||||
|
||||
Reference in New Issue
Block a user