mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 15:09:54 -05:00
Test Import cycle
This commit is contained in:
parent
ad82cd07e4
commit
2c9340b92b
@ -5,7 +5,6 @@ from __future__ import unicode_literals, absolute_import, print_function, divisi
|
|||||||
|
|
||||||
import sopel
|
import sopel
|
||||||
from sopel.module import OP, ADMIN, VOICE, OWNER, HALFOP
|
from sopel.module import OP, ADMIN, VOICE, OWNER, HALFOP
|
||||||
from sopel_modules.SpiceBot_Logs.Logs import bot_logging
|
|
||||||
HOP = HALFOP
|
HOP = HALFOP
|
||||||
|
|
||||||
import collections
|
import collections
|
||||||
@ -227,6 +226,7 @@ def channel_list_current(bot):
|
|||||||
|
|
||||||
|
|
||||||
def service_manip(bot, servicename, dowhat, log_from='service_manip'):
|
def service_manip(bot, servicename, dowhat, log_from='service_manip'):
|
||||||
|
from sopel_modules.SpiceBot_Logs.Logs import bot_logging
|
||||||
if str(dowhat) not in ["start", "stop", "restart"]:
|
if str(dowhat) not in ["start", "stop", "restart"]:
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
@ -240,6 +240,7 @@ def service_manip(bot, servicename, dowhat, log_from='service_manip'):
|
|||||||
|
|
||||||
|
|
||||||
def read_directory_json_to_dict(bot, directories, configtypename="Config File", log_from='read_directory_json_to_dict'):
|
def read_directory_json_to_dict(bot, directories, configtypename="Config File", log_from='read_directory_json_to_dict'):
|
||||||
|
from sopel_modules.SpiceBot_Logs.Logs import bot_logging
|
||||||
|
|
||||||
if not isinstance(directories, list):
|
if not isinstance(directories, list):
|
||||||
directories = [directories]
|
directories = [directories]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user