From 2f91c0e48c1f401578e0d3cc39dd0d0c19974e4d Mon Sep 17 00:00:00 2001 From: ChuckBuilds <33324927+ChuckBuilds@users.noreply.github.com> Date: Thu, 17 Apr 2025 09:37:54 -0500 Subject: [PATCH] Use non-hidden filename for directory write test --- src/stock_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stock_manager.py b/src/stock_manager.py index 038c6bfe..68cca113 100644 --- a/src/stock_manager.py +++ b/src/stock_manager.py @@ -57,7 +57,7 @@ class StockManager: else: # Directory exists, check if writable by trying to create a temp file try: - temp_file_path = os.path.join(self.logo_dir, ".write_test") + temp_file_path = os.path.join(self.logo_dir, "write_test_py.tmp") with open(temp_file_path, 'w') as f: f.write('test') os.remove(temp_file_path)