diff --git a/namekoplus/command.py b/namekoplus/command.py index c095e12..4ef3384 100644 --- a/namekoplus/command.py +++ b/namekoplus/command.py @@ -319,7 +319,7 @@ def metric_config_gen(module, class_name_str): """ import sys from statsd.client.timer import Timer - sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))))) + sys.path.append('.') click.echo(f'sys.path: {sys.path}') # Extract information of statsd config from the class of nameko service