Properly specify onionshare_cli package_data

This commit is contained in:
Micah Lee 2020-11-08 14:20:31 -08:00
parent 78e349ab76
commit 5328d2f643
2 changed files with 3 additions and 2 deletions

View file

@ -74,8 +74,9 @@ class Common:
"""
Returns the absolute path of a resource
"""
self.log("Common", "get_resource_path", f"filename={filename}")
path = resource_filename("onionshare_cli", os.path.join("resources", filename))
self.log("Common", "get_resource_path", path)
self.log("Common", "get_resource_path", f"filename={filename}, path={path}")
return path
def get_tor_paths(self):