RubénEu commited on
Commit
a856ffc
·
1 Parent(s): 6cfdf62

Included in the range the minimum value of characters to allow one character words

Browse files
Files changed (1) hide show
  1. deep_translator/parent.py +1 -1
deep_translator/parent.py CHANGED
@@ -64,7 +64,7 @@ class BaseTranslator(ABC):
64
  @param max_chars: maximum characters allowed
65
  @return: bool
66
  """
67
- return True if min_chars < len(payload) < max_chars else False
68
 
69
  @abstractmethod
70
  def translate(self, text, **kwargs):
 
64
  @param max_chars: maximum characters allowed
65
  @return: bool
66
  """
67
+ return True if min_chars <= len(payload) < max_chars else False
68
 
69
  @abstractmethod
70
  def translate(self, text, **kwargs):