= commited on
Commit
65c7dd4
·
1 Parent(s): d25f40f

fixed fstring err

Browse files
Files changed (1) hide show
  1. deep_translator/exceptions.py +1 -1
deep_translator/exceptions.py CHANGED
@@ -6,7 +6,7 @@ class BaseError(Exception):
6
  super().__init__()
7
 
8
  def __str__(self):
9
- return f"{self.val} --> {self.message}"
10
 
11
 
12
  class LanguageNotSupportedException(BaseError):
 
6
  super().__init__()
7
 
8
  def __str__(self):
9
+ return "{} --> {}".format(self.val, self.message)
10
 
11
 
12
  class LanguageNotSupportedException(BaseError):