diff --git a/fpakman/core/resource.py b/fpakman/core/resource.py index ea210ab9..efcb482e 100755 --- a/fpakman/core/resource.py +++ b/fpakman/core/resource.py @@ -8,9 +8,6 @@ app_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) def get_path(resource_path): if os.path.exists(local_resource_path): - final_path = local_resource_path + '/' + resource_path + return local_resource_path + '/' + resource_path else: - final_path = app_dir + '/resources/' + resource_path - - print(final_path) - return final_path + return app_dir + '/resources/' + resource_path diff --git a/fpakman/core/util.py b/fpakman/core/util.py index 9173d7f2..f66016ca 100644 --- a/fpakman/core/util.py +++ b/fpakman/core/util.py @@ -12,7 +12,7 @@ def get_locale_keys(): if current_locale: current_locale = current_locale[0] - locale_dir = resource.get_path('/locale') + locale_dir = resource.get_path('locale') for locale_file in glob.glob(locale_dir + '/*'): name = locale_file.split('/')[-1]