Skip to content

v_53: Fix load_from_file for future versions of Python

Choose a tag to compare

@artemlos artemlos released this 06 Aug 18:15
· 1 commit to master since this release

load_from_file used datetime.datetime.utcnow() in the logic that checked if the license file was too old. This was replaces with datetime.datetime.now(dateime.timezone.utc) to ensure it continues to work in future versions of Python.