Fixed some code style issues.

Sat, 13 Oct 2018 14:19:18 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 13 Oct 2018 14:19:18 +0200
changeset 6545
f669c4c0d39b
parent 6544
51996454f89f
child 6546
30829a28e969

Fixed some code style issues.

Plugins/UiExtensionPlugins/Translator/TranslatorEngines/DeepLEngine.py file | annotate | diff | comparison | revisions
Utilities/__init__.py file | annotate | diff | comparison | revisions
--- a/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/DeepLEngine.py	Sat Oct 13 14:08:21 2018 +0200
+++ b/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/DeepLEngine.py	Sat Oct 13 14:19:18 2018 +0200
@@ -85,7 +85,8 @@
         
         params = QByteArray(
             "auth_key={0}&source_lang={1}&target_lang={2}&text=".format(
-                apiKey, originalLanguage.upper(), translationLanguage.upper()).encode("utf-8"))
+                apiKey, originalLanguage.upper(), translationLanguage.upper())
+            .encode("utf-8"))
         encodedText = QByteArray(Utilities.html_encode(text).encode("utf-8"))\
             .toPercentEncoding()
         request = params + encodedText
--- a/Utilities/__init__.py	Sat Oct 13 14:08:21 2018 +0200
+++ b/Utilities/__init__.py	Sat Oct 13 14:19:18 2018 +0200
@@ -1957,6 +1957,7 @@
     else:
         return bool(dataStr)
 
+
 def getSysPath(interpreter):
     """
     Module function to get the Python path (sys.path) of a specific

eric ide

mercurial