Error when comparing datetime objects
Hi, seems like the "locale" fix a8dabf25 created another error: KIX Ticket#142645-Unable to download the DYAMOND datasets > TypeError: can't compare offset-naive and offset-aware datetimes from utils.py l. 712. This is because `dateutil.parser.parse()` returns a timezone aware datetime object and `datetime.now` does not. This can be changed by telling "now" from the timezone: e.g. ``` exp_date = convert_expiration_date(config_json["expireDate"]) if exp_date > datetime.now(exp_date.tzinfo) ... ``` Sebastian
issue

Imprint | Privacy Policy