From 536c26a0124137f948ef36dcbeedbf5aebe8d1dc Mon Sep 17 00:00:00 2001 From: Alw3ys Date: Mon, 12 Feb 2024 12:01:22 +0100 Subject: [PATCH] make func optional for run --- dosei_sdk/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dosei_sdk/main.py b/dosei_sdk/main.py index 3f60c61..fc390eb 100644 --- a/dosei_sdk/main.py +++ b/dosei_sdk/main.py @@ -10,7 +10,7 @@ sys.path.insert(0, "") -def run(func): +def run(func=None): if func: return Dosei.call_func(import_from_string(func)) try: