debugging on

This commit is contained in:
Vinicius Moreira
2019-06-17 15:54:46 -03:00
parent 3e85d14ca8
commit f467da2fbf

View File

@@ -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