mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 22:14:28 +01:00
fix: Fix flake8 errors based on the flake8 command with a narrower definition of errors
This commit is contained in:
@@ -41,7 +41,7 @@ def scrape_text(url):
|
||||
# Restrict access to local files
|
||||
if check_local_file_access(url):
|
||||
return "Error: Access to local files is restricted"
|
||||
|
||||
|
||||
# Validate the input URL
|
||||
if not is_valid_url(url):
|
||||
# Sanitize the input URL
|
||||
|
||||
Reference in New Issue
Block a user