      try:
          from lib.sysinfo import sysinfo  # pylint:disable=import-outside-toplevel
      except Exception:  # pylint:disable=broad-except
          sysinfo = ("\n\nThere was an error importing System Information from lib.sysinfo. This is "
                     "probably a bug which should be fixed:\n{}".format(traceback.format_exc()))
      with open(filename, "wb") as outfile:
          outfile.writelines(freeze_log)
          outfile.write(original_traceback)
          outfile.write(sysinfo.encode("utf-8"))
      return filename
 
</s> remove     def __init__(self):
 </s> add     def __init__(self) -> None:
                   f"probably a bug which should be fixed:\n{traceback.format_exc()}")
      try:
          from lib.sysinfo import sysinfo  # pylint:disable=import-outside-toplevel
      except Exception:  # pylint:disable=broad-except
          sysinfo = ("\n\nThere was an error importing System Information from lib.sysinfo. This is "
                   f"probably a bug which should be fixed:\n{traceback.format_exc()}")
      with open(filename, "wb") as outfile:
          outfile.writelines(freeze_log)
          outfile.write(original_traceback)
          outfile.write(sysinfo.encode("utf-8"))
      return filename
keep keep keep keep replace keep keep keep keep keep
 Bugfixes:
  - Stats graph - Handle NaNs in data
  - logger - de-elevate matplotlib font messages 
lib/logger.py