diff options
| author | Iain R. Learmonth <irl@fsfe.org> | 2017-07-16 00:34:18 +0100 |
|---|---|---|
| committer | Iain R. Learmonth <irl@fsfe.org> | 2017-07-16 00:34:18 +0100 |
| commit | 13e802fb673ce97dd3cca5b5af67fff0ccebd75e (patch) | |
| tree | fe04937202b9c0b12f6fc7e98dc47ef74080106f /chirpw | |
| parent | 84922147dd2ac531b95e7a52f1e9bcb2e2e397dc (diff) | |
New upstream version 20170714upstream/20170714
Diffstat (limited to 'chirpw')
| -rwxr-xr-x | chirpw | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -34,10 +34,7 @@ import logging LOG = logging.getLogger("chirpw") -execpath = platform.get_platform().executable_path() -localepath = os.path.abspath(os.path.join(execpath, "locale")) -if not os.path.exists(localepath): - localepath = "/usr/share/chirp/locale" +localepath = platform.get_platform().find_resource("locale") conf = config.get() manual_language = conf.get("language", "state") |
