[orca] Fix bug in last commit



commit 9c07c55f3f48d31e7f414ee539147a05fc63062d
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Thu Jan 7 19:27:13 2021 +0100

    Fix bug in last commit
    
    If we haven't found a preferred table, we still need a full path for
    the fallback table. #150.

 src/orca/braille.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/braille.py b/src/orca/braille.py
index 772ca400e..854c63416 100644
--- a/src/orca/braille.py
+++ b/src/orca/braille.py
@@ -289,7 +289,7 @@ def getDefaultTable():
                 return os.path.join(tablesdir, table)
 
     # If we couldn't find a preferred match, just go with the first match for the locale.
-    return tables[0]
+    return os.path.join(tablesdir, tables[0])
 
 if louis:
     _defaultContractionTable = getDefaultTable()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]