reformat/refactor
This commit is contained in:
@ -149,7 +149,7 @@ class DB:
|
||||
Returns:
|
||||
str
|
||||
"""
|
||||
if not flag in range(-1, 2):
|
||||
if flag not in range(-1, 2):
|
||||
raise LoveHateException(
|
||||
f"Invalid flag {flag} specified, is this love (1), hate (-1), or dontcare? (0)"
|
||||
)
|
||||
|
Reference in New Issue
Block a user