diff options
author | Aneesh Dogra <lionaneesh@gmail.com> | 2012-11-29 14:26:17 (GMT) |
---|---|---|
committer | Aneesh Dogra <lionaneesh@gmail.com> | 2012-11-29 14:26:17 (GMT) |
commit | 295d61ffa2e9cbed0a917ee63c468345017f584f (patch) | |
tree | 153eae5f5c20bebd19562e849a2d203a714c6f8f | |
parent | 181a9a98e556a82a49e440e5116b29e9d55512d5 (diff) |
Remove DEFAULT_CONFIG_PATH from widgets.py and use os.path.join to generate
DEFAULT_CONFIG_PATH.
-rw-r--r-- | AbiWordActivity.py | 2 | ||||
-rw-r--r-- | widgets.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/AbiWordActivity.py b/AbiWordActivity.py index 1c03b5c..7d54863 100644 --- a/AbiWordActivity.py +++ b/AbiWordActivity.py @@ -55,7 +55,7 @@ import speech from speechtoolbar import SpeechToolbar logger = logging.getLogger('write-activity') -DEFAULT_CONFIG_PATH = get_bundle_path() + '/font.cfg' +DEFAULT_CONFIG_PATH = os.path.join(get_bundle_path() + 'font.cfg') class AbiWordActivity(activity.Activity): @@ -29,7 +29,6 @@ from sugar.activity.activity import SCOPE_PRIVATE from sugar.activity.activity import get_bundle_path logger = logging.getLogger('write-activity') -DEFAULT_CONFIG_PATH = get_bundle_path() + '/font.cfg' """ # The FontCombo is not used anymore, keep the code here for reference |