LittleFrog commited on
Commit
3932d00
·
verified ·
1 Parent(s): d08d66c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ def modify_file(file_path):
78
  lines = file.readlines()
79
 
80
  # Modify the specified lines
81
- lines[106] = "raise ImportError\n" # Line 107 (index starts at 0)
82
  lines[107] = "" # Line 108, replace with an empty line or remove it
83
 
84
  # Write the modified lines back to the file
 
78
  lines = file.readlines()
79
 
80
  # Modify the specified lines
81
+ lines[106] = " raise ImportError("Custom import error message")\n" # Line 107 (index starts at 0)
82
  lines[107] = "" # Line 108, replace with an empty line or remove it
83
 
84
  # Write the modified lines back to the file