From a15f56cbc20f4a9645b278eecb58b206eaab0f7d Mon Sep 17 00:00:00 2001 From: Sean Smith Date: Tue, 23 Jul 2024 11:31:35 -0700 Subject: [PATCH] fixed bug --- pirrtools/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pirrtools/__init__.py b/pirrtools/__init__.py index abf8d1c..ef74a08 100644 --- a/pirrtools/__init__.py +++ b/pirrtools/__init__.py @@ -129,7 +129,7 @@ def get_base_package(module): Returns: str: The base package of the module. """ - return module.__name__.split(".", maxsplits=1)[0] + return module.__name__.split(".", maxsplit=1)[0] def find_instances(cls, module):