From d3031952bfb4c92a410216c0a6a63e6f9f6bd618 Mon Sep 17 00:00:00 2001 From: Jan Lerking Date: Sun, 9 Mar 2025 15:21:08 +0100 Subject: [PATCH] 0.1.3 #26 bug-fix corrected variable name. /JL --- setup.py | 2 +- xtendr/xtendrsystem.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index e900dcf..e88dad6 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ if __name__ == "__main__": setup( name="XtendR", - version="0.1.2", + version="0.1.3", packages=find_packages(), install_requires=[], author="Jan Lerking", diff --git a/xtendr/xtendrsystem.py b/xtendr/xtendrsystem.py index 39d2351..b6de8ef 100644 --- a/xtendr/xtendrsystem.py +++ b/xtendr/xtendrsystem.py @@ -4,7 +4,7 @@ import os import json from xtendr.xtendrbase import XtendRBase -__version__ = "0.1.2" +__version__ = "0.1.3" class XtendRSystem: """Plugin system to manage plugins. @@ -12,7 +12,7 @@ class XtendRSystem: Example: >>> system = XtendRSystem() >>> system.version() - XtendR v0.1.2 + XtendR v0.1.3 >>> system.attach("example_plugin") # Assuming 'example_plugin/example_plugin.json' exists >>> system.run("example_plugin") ExamplePlugin is running! @@ -34,7 +34,7 @@ class XtendRSystem: print(f"Plugin '{name}' is already attached.") return - plugin_path = os.path.join(os.getcwd(), self.pluginpath, name) + plugin_path = os.path.join(os.getcwd(), self.pluginspath, name) info_path = os.path.join(plugin_path, name + ".json") print(plugin_path + "\n" + info_path)