Skip to content

Commit

Permalink
fix data path in paths.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aichingm authored and gsemet committed Aug 24, 2018
1 parent 9b4c41f commit ab7b44a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guake/paths.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def get_default_package_root():


def get_data_files_dir():
d = os.path.dirname(sys.modules["guake"].__file__)
d = os.path.dirname(os.path.dirname(sys.modules["guake"].__file__))
p = os.path.basename(os.path.abspath(os.path.join(d, "..")))
if p in ["site-packages", "dist-packages"]:
# current "guake" package has been installed in a prefix structure (/usr, /usr/local or
Expand Down

0 comments on commit ab7b44a

Please sign in to comment.