Skip to content

Commit 86fcfa2

Browse files
committed
Appease linter (use for ''/$)
1 parent 035752b commit 86fcfa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jishaku/features/management.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ async def jsk_sync(self, ctx: ContextA, *targets: str):
218218
if target[0] == '-':
219219
active_set = clear_guilds_set
220220
target = target[1:]
221-
if target == '' or target == '$':
221+
if target in ('', '$'):
222222
active_set.add(None)
223223
elif target == '*':
224224
active_set |= set(self.bot.tree._guild_commands.keys()) # type: ignore # pylint: disable=protected-access

0 commit comments

Comments
 (0)