broadfield-dev commited on
Commit
4003dcc
·
verified ·
1 Parent(s): 0231fd5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -13,10 +13,8 @@ SETTINGS_DIR = "settings"
13
  try:
14
  if not os.path.exists(SETTINGS_DIR):
15
  os.makedirs(SETTINGS_DIR, mode=0o775)
16
- # Attempt to set permissions (may fail if user lacks privileges, but directory should already be created with correct permissions in Dockerfile)
17
  os.chmod(SETTINGS_DIR, 0o775)
18
  except OSError as e:
19
- # Log the error (in a production environment, you'd use proper logging)
20
  print(f"Error setting up settings directory: {e}")
21
 
22
  # Real-world simulation parameters (unscaled)
 
13
  try:
14
  if not os.path.exists(SETTINGS_DIR):
15
  os.makedirs(SETTINGS_DIR, mode=0o775)
 
16
  os.chmod(SETTINGS_DIR, 0o775)
17
  except OSError as e:
 
18
  print(f"Error setting up settings directory: {e}")
19
 
20
  # Real-world simulation parameters (unscaled)