From f467da2fbf94e9ac274ecee6bba203e917a7e85c Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Mon, 17 Jun 2019 15:54:46 -0300 Subject: [PATCH] debugging on --- fpakman/core/resource.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fpakman/core/resource.py b/fpakman/core/resource.py index efcb482e..ea210ab9 100755 --- a/fpakman/core/resource.py +++ b/fpakman/core/resource.py @@ -8,6 +8,9 @@ app_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) def get_path(resource_path): if os.path.exists(local_resource_path): - return local_resource_path + '/' + resource_path + final_path = local_resource_path + '/' + resource_path else: - return app_dir + '/resources/' + resource_path + final_path = app_dir + '/resources/' + resource_path + + print(final_path) + return final_path