summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/kalauerbot/translate.patch
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2023-07-28 22:24:15 +0200
committermakefu <github@syntax-fehler.de>2023-07-28 22:24:15 +0200
commit060a8f28fa1fc648bdf66afb31a5d1efac868837 (patch)
tree2b354eacc7897365ee45244fe7a51720e0d0333f /makefu/5pkgs/kalauerbot/translate.patch
parentcbfcc890e3b76d942b927809bf981a5fa7289e6a (diff)
makefu: move out to own repo, add vacation-note
Diffstat (limited to 'makefu/5pkgs/kalauerbot/translate.patch')
-rw-r--r--makefu/5pkgs/kalauerbot/translate.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/makefu/5pkgs/kalauerbot/translate.patch b/makefu/5pkgs/kalauerbot/translate.patch
deleted file mode 100644
index 6ff82072..00000000
--- a/makefu/5pkgs/kalauerbot/translate.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/googletrans/client.py b/googletrans/client.py
-index 89c2237..c203b44 100644
---- a/googletrans/client.py
-+++ b/googletrans/client.py
-@@ -190,6 +190,13 @@ class Translator(object):
- pass
- if not PY3 and isinstance(pron, unicode) and isinstance(origin, str): # pragma: nocover
- origin = origin.decode('utf-8')
-+
-+ if pron is None:
-+ try:
-+ pron = data[0][2][2]
-+ except: # pragma: nocover
-+ pass
-+
- if dest in EXCLUDES and pron == origin:
- pron = translated