diff --git a/bin/smart-logger b/bin/smart-logger index a0951fd..d531ef3 100755 --- a/bin/smart-logger +++ b/bin/smart-logger @@ -24,7 +24,7 @@ import shutil from datetime import datetime _cli = typer.Typer() -import plugins +import plugin_ix # iregistry = plugins.Registry(meta.__home__) @@ -158,6 +158,6 @@ def post(_df,_table): if __name__ == '__main__' : os.environ['REGISTRY_FOLDER'] = meta.__home__ # print (os.environ['REGISTRY_FOLDER']) - _cli.add_typer(plugins.cli.appr,name='registry',help='Initialize smart-logger registry for plugins ') + _cli.add_typer(plugin_ix.cli.appr,name='registry',help='Initialize smart-logger registry for plugins ') # del os.environ['REGISTRY_FOLDER'] _cli() diff --git a/smart/__init__.py b/smart/__init__.py index 02db927..5ce8622 100755 --- a/smart/__init__.py +++ b/smart/__init__.py @@ -24,7 +24,7 @@ import shutil from datetime import datetime _cli = typer.Typer() -import plugins +# import plugins @_cli.command(name='log-intruder') def intrusion(path:str='/var/log/auth.log', year:int=datetime.now().year):