Skip to content

Commit 97cad87

Browse files
committed
misc cleanup
1 parent 5d4104c commit 97cad87

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed

resources/plugins/ark/plugin.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
enabled: false
2+

resources/plugins/demo_plugin/demo.py

-6
This file was deleted.

resources/plugins/demo_plugin/plugin.yaml

-1
This file was deleted.

src/warnet/plugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def process_obj(some_obj, func) -> dict:
255255
if isinstance(some_obj, dict):
256256
return some_obj
257257
elif isinstance(some_obj, list):
258-
if len(param_names) < len(some_obj): # TODO: Move this b/c it shortcuts
258+
if len(param_names) < len(some_obj):
259259
raise ValueError("Function parameters are fewer than the list items.")
260260
# If the function expects a single list parameter, use it directly
261261
if len(param_names) == 1:

0 commit comments

Comments
 (0)