Skip to content

Commit

Permalink
[FIXED][DEV1.1][OWNER] 🛠 Fixed private class
Browse files Browse the repository at this point in the history
Fixed Private Class __dataTranslated  on bool value
  • Loading branch information
JohnKun136NVCP committed Aug 22, 2024
1 parent 9caa4b0 commit a5656c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apiget/animeapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def __dataTranslated(self, sourceData, srcLanguage,defaultLang=False) -> str:
"""
if defaultLang!=True:
sourceData = self.translator.translate(sourceData, src=srcLanguage, dest=self.languague_app).text
elif defaultLang:
elif defaultLang==True:
sourceData = self.translator.translate(sourceData, src=srcLanguage, dest='en').text
new_sourceData = sourceData.replace('\u200b', '').replace('\n\n', '')
return str(new_sourceData)
Expand Down

0 comments on commit a5656c1

Please sign in to comment.