Python CLI Package: Use CLI code names instead of numbers

This commit is contained in:
Maria Matejka
2023-05-23 13:44:48 +02:00
parent 8496c4b469
commit 7dcfad4085
2 changed files with 10 additions and 4 deletions
+6
View File
@@ -23,3 +23,9 @@ class Basic:
async def load(self):
if self.data is None:
await self.update()
class Code:
OK = 0
Welcome = 1
Status = 13
Version = 1000