From 98714e35e7a4c00e6379c8790977106887c8fbc9 Mon Sep 17 00:00:00 2001 From: j Date: Sat, 19 Dec 2015 19:22:01 +0100 Subject: [PATCH] fix path --- oml/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oml/update.py b/oml/update.py index 2d4cebe..ea9a6db 100644 --- a/oml/update.py +++ b/oml/update.py @@ -156,7 +156,7 @@ def get_app_version(app): def upgrade_app(): if sys.platform == 'darwin': base = os.path.dirname(settings.base_dir) - bundled_app = base + 'platform/Darwin/Applications/Open Media Library.app' + bundled_app = os.path.join(base, 'platform/Darwin/Applications/Open Media Library.app') app = '/Applications/Open Media Library.app' version = get_app_version(app) current_version = get_app_version(bundled_app)