mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
debugging on
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user