bcci commited on
Commit
adf38ca
·
verified ·
1 Parent(s): fe8c37e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -73,14 +73,8 @@ def get_markdown_get(request: Request, url: str):
73
  if __name__ == "__main__":
74
  import subprocess
75
 
76
- command = "camoufox fetch"
77
-
78
  try:
79
- result = subprocess.run(
80
- command,
81
- shell=True
82
- )
83
-
84
  print("Command executed successfully!")
85
  except Exception as e:
86
  print(f"An unexpected error occurred: {e}")
 
73
  if __name__ == "__main__":
74
  import subprocess
75
 
 
 
76
  try:
77
+ subprocess.run(['camoufox', 'fetch'], check=True)
 
 
 
 
78
  print("Command executed successfully!")
79
  except Exception as e:
80
  print(f"An unexpected error occurred: {e}")