Menu

#16 Ensure desktop file is closed after reading

v1.0 (example)
open
nobody
None
5
2020-06-17
2020-06-17
Chris Mayo
No
/usr/lib/python3.8/site-packages/Prophet/Desktop/__init__.py:184:
    ResourceWarning: unclosed file <_io.BufferedReader name='/usr/share/applications/gcm-calibrate.desktop'>
  xs = codecs.open(desktop, "r", "utf-8").readlines()  # Py 2.4+
1 Attachments

Discussion


Log in to post a comment.