diff --git a/lib/holiday.py b/lib/holiday.py index ff58cf9..f3d4fdd 100644 --- a/lib/holiday.py +++ b/lib/holiday.py @@ -23,7 +23,6 @@ # ***************************************** from datetime import date, timedelta -import pkg_resources def _get_orthodox_easter(year): """compute date of orthodox easter @@ -319,7 +318,7 @@ class HolidayProvider(object): @param filename: file to be loaded """ - with open(pkg_resources.resource_stream(filename), 'r') as f: + with open(filename, 'r') as f: for line in f: line = line.strip() if not line: continue