From 7c912b85a16da995057fbc8c9910b3a98b5890b2 Mon Sep 17 00:00:00 2001 From: Arthur Date: Wed, 11 Jul 2018 16:42:24 +0300 Subject: [PATCH] Use string type --- lib/networking/event_parser.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/networking/event_parser.dart b/lib/networking/event_parser.dart index d3381d99..f1ea9e5c 100644 --- a/lib/networking/event_parser.dart +++ b/lib/networking/event_parser.dart @@ -17,7 +17,7 @@ class EventParser { id: tagContents(node, 'ID'), title: EventNameCleaner.cleanup(title), originalTitle: EventNameCleaner.cleanup(originalTitle), - productionYear: int.parse(tagContents(node, 'ProductionYear')), + productionYear: tagContents(node, 'ProductionYear'), genres: tagContents(node, 'Genres'), directors: _parseDirectors(node.findAllElements('Director')), actors: _parseActors(node.findAllElements('Actor')),