Skip to content

Commit

Permalink
FIX: Avoid pylint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac Brannelly committed Nov 19, 2019
1 parent bb93acf commit 454256d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion surround/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def some_func(config):
def function_wrapper(*args, **kwargs):
config = Config.instance()
if filename:
path = os.path.join(config["package_path"], filename)
path = os.path.join(config.get_path("package_path"), filename)
config.read_config_files([path])
kwargs[name] = config
return func(*args, **kwargs)
Expand Down

0 comments on commit 454256d

Please sign in to comment.