From 0c82f4f4bb78c995b6175a01967b2dc0a1ecb3cb Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Tue, 9 Jul 2024 19:33:30 -0400 Subject: add el8+py3.6 support --- libraries/polaris.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libraries') diff --git a/libraries/polaris.py b/libraries/polaris.py index 8b3037e..a47a289 100644 --- a/libraries/polaris.py +++ b/libraries/polaris.py @@ -14,6 +14,11 @@ from .base import * import requests, dateutil, base64, os, urllib, sys +# for python3.6 on AlmaLinux 8: +try: + import dateutil.parser +except: + pass from bs4 import BeautifulSoup class Library(BaseLibrary): -- cgit