summaryrefslogtreecommitdiff
path: root/dealconvert
diff options
context:
space:
mode:
Diffstat (limited to 'dealconvert')
-rw-r--r--dealconvert/formats/pbn.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/dealconvert/formats/pbn.py b/dealconvert/formats/pbn.py
index 5c5e769..959ca7b 100644
--- a/dealconvert/formats/pbn.py
+++ b/dealconvert/formats/pbn.py
@@ -83,6 +83,8 @@ class PBNFormat(DealFormat):
for deal in deals:
deal_obj = PBNDeal()
deal_obj.parse(deal)
+ if not deal_obj.has_field('Deal'):
+ continue
deal_dto = dto.Deal()
if deal_obj.has_field('Event'):
deal_dto.event = deal_obj.get_field('Event')