From 561a2d9058af86f7f1e778d31c62277da3a27198 Mon Sep 17 00:00:00 2001 From: Maarten de Boer Date: Tue, 31 Jan 2017 04:32:40 +0100 Subject: [PATCH] Change bookmarks file path to a relative path --- STP.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/STP.py b/STP.py index 6b6b830..8c4f08a 100644 --- a/STP.py +++ b/STP.py @@ -1,12 +1,11 @@ #!/usr/bin/python -# -*- coding: utf-8 -*- - from biplist import * import json +import os class SourceTree: - filePath="/Users/Yourtion/Library/Application Support/SourceTree/browser.plist" + filePath = os.path.expanduser('~') + "/Library/Application Support/SourceTree/browser.plist" def _getProjects(self): try: