Skip to content

Commit

Permalink
Fix error in who
Browse files Browse the repository at this point in the history
  • Loading branch information
tspivey committed Jun 5, 2023
1 parent bc8a7ac commit aa3fdd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ygo/parsers/lobby_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def who(caller):
s = pl.nickname
if pl.afk is True:
s += " " + caller.connection._("[AFK]")
if pl.connection.parser is DeckEditorParser:
if pl.connection and pl.connection.parser is DeckEditorParser:
s += " " + caller.connection._("[in Deck Editor]")
if pl.watching and "watch" in showing:
if pl.duel.tag is True:
Expand Down

0 comments on commit aa3fdd1

Please sign in to comment.