diff --git a/pyproject.toml b/pyproject.toml index 3557365..fc58784 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ dependencies = [ ] name = "easytl" -version = "v0.4.2" +version = "v0.4.3" authors = [ { name="Kaden Bilyeu (Bikatr7)", email="Bikatr7@proton.me"}, { name="Alejandro Mata", email="alemalvarez@icloud.com"}, diff --git a/src/easytl/classes.py b/src/easytl/classes.py index 8301814..0a93b64 100644 --- a/src/easytl/classes.py +++ b/src/easytl/classes.py @@ -56,6 +56,13 @@ def __str__(self) -> str: def __repr__(self): return f"" + + def __add__(self, other:str): + if(isinstance(other, str)): + new_content = self._content + other + return self.__class__(new_content) + + return NotImplemented ##-------------------start-of-SystemTranslationMessage-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- diff --git a/src/easytl/version.py b/src/easytl/version.py index 9d897b0..3ef1a4b 100644 --- a/src/easytl/version.py +++ b/src/easytl/version.py @@ -2,4 +2,4 @@ ## Use of this source code is governed by an GNU Lesser General Public License v2.1 ## license that can be found in the LICENSE file. -VERSION = "v0.4.2" \ No newline at end of file +VERSION = "v0.4.3" \ No newline at end of file