bbot
bbot copied to clipboard
Updated the cache_get method to use the with block
In this PR , To properly handle file operations and ensure that the file is closed after it's no longer needed, you can use a with block. I have updated code that automatically handle closing the file when the block of code is finished, preventing resource leaks.