mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
test
This commit is contained in:
parent
35a1b2104b
commit
3e977ab95d
@ -13,11 +13,9 @@ import collections
|
|||||||
|
|
||||||
class spicemanipnew():
|
class spicemanipnew():
|
||||||
|
|
||||||
def __init__(self, inputs, output_type=None):
|
def __init__(self):
|
||||||
|
|
||||||
self.inputs = inputs
|
self.dict = {}
|
||||||
self.inputs_list = self.input_handler(self.inputs)
|
|
||||||
self.output_type = output_type
|
|
||||||
|
|
||||||
def input_handler(self, inputs):
|
def input_handler(self, inputs):
|
||||||
# Input needs to be a list, but don't split a word into letters
|
# Input needs to be a list, but don't split a word into letters
|
||||||
@ -38,7 +36,10 @@ class spicemanipnew():
|
|||||||
output_type = "list"
|
output_type = "list"
|
||||||
return outputs
|
return outputs
|
||||||
|
|
||||||
def core(self):
|
def core(self, inputs, output_type=None):
|
||||||
|
self.inputs = inputs
|
||||||
|
self.inputs_list = self.input_handler(self.inputs)
|
||||||
|
self.output_type = output_type
|
||||||
return self.inputs_list
|
return self.inputs_list
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user