Skip to content

Commit fc702ec

Browse files
committed
add missing return arguments
1 parent a0fe67e commit fc702ec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugins/config.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def LoadClassWarlock(self):
219219

220220
# WoW Class list add
221221

222-
def AddClassDH(self,new_dps):
222+
def AddClassDH(self,new_dps) -> bool:
223223
if not new_dps or new_dps == "":
224224
print("Error no user found")
225225
return False
@@ -235,7 +235,7 @@ def AddClassDH(self,new_dps):
235235
print(f"new dh player: {new_dps} added to list")
236236
return True
237237

238-
def AddClassDK(self,new_dps):
238+
def AddClassDK(self,new_dps) -> bool:
239239
if not new_dps or new_dps == "":
240240
print("Error no user found")
241241
return False
@@ -267,7 +267,7 @@ def AddClassDruid(self,new_dps) -> bool:
267267
print(f"new druid player: {new_dps} added to list")
268268
return True
269269

270-
def AddClassHunter(self,new_dps):
270+
def AddClassHunter(self,new_dps) -> bool:
271271
if not new_dps or new_dps == "":
272272
print("Error no user found")
273273
return False
@@ -283,7 +283,7 @@ def AddClassHunter(self,new_dps):
283283
print(f"new hunter player: {new_dps} added to list")
284284
return True
285285

286-
def AddClassMage(self,new_dps):
286+
def AddClassMage(self,new_dps)-> bool:
287287
if not new_dps or new_dps == "":
288288
print("Error no user found")
289289
return False

0 commit comments

Comments
 (0)