Fix: loading resources from .local/share/fpakman/resources

This commit is contained in:
Vinicius Moreira
2019-06-17 14:19:12 -03:00
parent 5cd23a481b
commit 2399868168

View File

@@ -8,6 +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):
return local_resource_path + resource_path
return local_resource_path + '/' + resource_path
else:
return app_dir + '/resources/' + resource_path