Fix options path

This commit is contained in:
Pascal Vizeli
2017-05-02 02:01:12 +02:00
committed by GitHub
parent 76a999f650
commit c333f94cfa

View File

@@ -338,7 +338,7 @@ class AddonsData(Config):
def path_addon_options(self, addon):
"""Return path to addons options."""
return Path(self.path_data(addon), addon, "options.json")
return Path(self.path_data(addon), "options.json")
def write_addon_options(self, addon):
"""Return True if addon options is written to data."""