Remove network call from github_scarecrow.

This doesn't work in our fuzzing env.
This commit is contained in:
Oliver Chang 2022-12-07 15:03:41 +11:00 committed by GitHub
parent 4799eb3012
commit 09b178f416
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -1,10 +1,9 @@
import requests
RAN_ONCE = False
def do_something(data):
global RAN_ONCE
if not RAN_ONCE:
print(requests.get('https://google.com'))
RAN_ONCE = True
if not data:
return