From 3e85d14ca8d30dd1795b5b67766c81dfdb6a6a40 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Mon, 17 Jun 2019 15:45:35 -0300 Subject: [PATCH] resources fix --- fpakman/core/resource.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fpakman/core/resource.py b/fpakman/core/resource.py index 3998b95e..efcb482e 100755 --- a/fpakman/core/resource.py +++ b/fpakman/core/resource.py @@ -1,7 +1,7 @@ import os -import getpass +from pathlib import Path -local_resource_path = '/home/{}/.local/share/fpakman/resources'.format(getpass.getuser()) +local_resource_path = '{}/.local/share/fpakman/resources'.format(str(Path.home())) app_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))