imsubhamsingh / imsubhamsingh/OpenQ
Storage File Handling in _load_from_disk
Open
bug
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
The _load_from_disk method initializes loaded_messages outside of the with block but uses it inside without checking whether the file read was successful. Also, the loaded_messages list, as initialized, implies that it could be used even when the file is not present, which is counter-intuitive.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.