make language changeable
This commit is contained in:
@@ -9,13 +9,13 @@ class Settings():
|
||||
def set_session(self, section: str, option: str, value: str):
|
||||
return self.session.set(section, option, value)
|
||||
|
||||
def get_session(self, section: str, option: str):
|
||||
def get_session(self, section: str, option: str) -> str:
|
||||
return self.session.get(section, option)
|
||||
|
||||
def getint_session(self, section: str, option: str):
|
||||
def getint_session(self, section: str, option: str) -> int:
|
||||
return self.session.getint(section, option)
|
||||
|
||||
def getboolean_session(self, section: str, option: str):
|
||||
def getboolean_session(self, section: str, option: str) -> bool:
|
||||
return self.session.getboolean(section, option)
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user