summarylogtreecommitdiffstats
path: root/textsuggest.patch
diff options
context:
space:
mode:
authorshellkr2016-06-25 00:05:47 +0200
committershellkr2016-06-25 00:05:47 +0200
commit4b9fda3d2aa8460e3396945a81bf931669351e34 (patch)
treeca7e83cbd9a92bc5bd0ca786c91bebe678a5c482 /textsuggest.patch
parent76e8876dd32b4dee3b3477bbd71a60e9134188a0 (diff)
downloadaur-4b9fda3d2aa8460e3396945a81bf931669351e34.tar.gz
fixed the patch after changes upstream
Diffstat (limited to 'textsuggest.patch')
-rw-r--r--textsuggest.patch17
1 files changed, 12 insertions, 5 deletions
diff --git a/textsuggest.patch b/textsuggest.patch
index 128ea633849e..00fe948fd372 100644
--- a/textsuggest.patch
+++ b/textsuggest.patch
@@ -1,11 +1,18 @@
---- TextSuggest-orig.py 2016-06-22 07:13:54.566518200 +0200
-+++ TextSuggest.py 2016-06-22 07:14:19.063184795 +0200
-@@ -34,7 +34,7 @@
+--- TextSuggest-orig.py 2016-06-24 23:47:38.626860367 +0200
++++ TextSuggest.py 2016-06-24 23:58:54.896907919 +0200
+@@ -44,7 +44,7 @@
- suggest_method = 'replace'
+ suggest_method = 'replace'
-script_cwd = os.path.abspath(os.path.join(__file__, os.pardir))
+script_cwd = os.path.abspath(os.path.join(__file__, '/usr/lib/python3.5/site-packages/textsuggest/'))
- dict_dir = os.path.join(script_cwd, 'EnglishOpenWordList')
+ custom_words_file = os.path.expanduser('~/.Custom_Words.txt')
+@@ -348,4 +348,4 @@
+
+ if __name__ == '__main__':
+
+- main(current_word)
+\ No newline at end of file
++ main(current_word)