Skip to content

Commit

Permalink
fix: stop parsing PlayReqs
Browse files Browse the repository at this point in the history
  • Loading branch information
beheh committed Apr 12, 2024
1 parent ba51ab5 commit e148b8f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hslog/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from aniso8601 import parse_time
from hearthstone.enums import (
BlockType, ChoiceType, FormatType, GameTag, GameType,
MetaDataType, Mulligan, OptionType, PlayReq, PowerType
MetaDataType, Mulligan, OptionType, PowerType
)

from . import packets, tokens
Expand Down Expand Up @@ -177,8 +177,6 @@ def clean_option_errors(error, error_param):

if error == "NONE":
error = None
else:
error = parse_enum(PlayReq, error)

if not error_param:
error_param = None
Expand Down

0 comments on commit e148b8f

Please sign in to comment.