Browse Source

oebb: 'your bookings' instead of 'your booking'

Fabian Peter Hammerle 8 years ago
parent
commit
39fa398433
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dingguo/parser/oebb.py

+ 1 - 1
dingguo/parser/oebb.py

@@ -46,7 +46,7 @@ def parse_order_confirmation_mail(mail):
     item_match = re.search(
         ur'(?P<price_brutto_currency>.)(?P<price_brutto>\d+\.\d+)'
             + ur'[\W\w]+'
-            + ur'Your Booking\s+'
+            + ur'Your Bookings?\s+'
             + ur'(?P<departure_point>.*)\s+>\s+(?P<destination_point>.*)',
         msg_text,
         re.MULTILINE | re.UNICODE