Use non-hidden filename for directory write test

This commit is contained in:
ChuckBuilds
2025-04-17 09:37:54 -05:00
parent 90f5087b60
commit 2f91c0e48c

View File

@@ -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)