mirror of
https://github.com/RafaelSolVargas/Vulkan.git
synced 2025-10-29 16:57:23 +00:00
Adding types and changing some messages from class
This commit is contained in:
@@ -42,7 +42,7 @@ class RemoveController(AbstractController):
|
||||
try:
|
||||
position = int(position)
|
||||
except:
|
||||
return NumberRequired(self.config.ERROR_NUMBER)
|
||||
return NumberRequired(self.messages.ERROR_NUMBER)
|
||||
|
||||
def __sanitize_input(self, position: str) -> int:
|
||||
position = int(position)
|
||||
|
||||
Reference in New Issue
Block a user