Commit 1a359df9 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

BaseError: Use correct method signature for get_text()

parent e85e1f08
Pipeline #8750 failed with stages
in 26 seconds
......@@ -32,7 +32,7 @@ class BaseError(Exception):
def __str__(self):
return self.text
def get_text(self):
def get_text(self, pref_lang=None):
return self.text
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment