Yaron Koresh commited on
Commit
8ab132a
·
verified ·
1 Parent(s): 464bb16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1193,7 +1193,7 @@ class GoogleTranslator(BaseTranslator):
1193
  self._url_params["sl"] = self._source
1194
 
1195
  if self.payload_key:
1196
- self._url_params[self.payload_key] = urllib.parse.quote(text,encoding="utf8")
1197
 
1198
  response = requests.get(
1199
  self._base_url, params=self._url_params, proxies=self.proxies
 
1193
  self._url_params["sl"] = self._source
1194
 
1195
  if self.payload_key:
1196
+ self._url_params[self.payload_key] = text
1197
 
1198
  response = requests.get(
1199
  self._base_url, params=self._url_params, proxies=self.proxies