Code clarity fixes
autopep8 -ir -j2 --select=E303,E125 Diff checked manually.
This commit is contained in:
parent
dcb2b61b18
commit
c21d1f7925
37 changed files with 6 additions and 59 deletions
|
|
@ -48,7 +48,6 @@ class GoogleTranslateBackend(BaseBackend, ICapTranslate):
|
|||
'Telugu':'te', 'Thai':'th', 'Turkish':'tr', 'Ukrainian':'uk', 'Urdu':'ur', 'Vietnamese':'vi', 'Welsh':'cy', 'Yiddish':'yi',
|
||||
}
|
||||
|
||||
|
||||
def translate(self, lan_from, lan_to, text):
|
||||
if not lan_from in self.GOOGLELANGUAGE.keys():
|
||||
raise LanguageNotSupported()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue