diff --git a/src/gam.py b/src/gam.py index f79c5018..24432b7f 100755 --- a/src/gam.py +++ b/src/gam.py @@ -10522,8 +10522,9 @@ def doSiteVerifyAttempt(): else: answer = 'no matching record found' for possible_answer in answers: - if possible_answer['data'].startswith('google-site-verification='): - answer = possible_answer + possible_answer['data'] = possible_answer['data'].strip('"') + if possible_answer['data'].startswith('google-site-verification'): + answer = possible_answer['data'] break else: print('Unrelated TXT record: %s' % possible_answer['data']) diff --git a/src/requirements.txt b/src/requirements.txt index 4b5caa84..1d58fbf7 100644 --- a/src/requirements.txt +++ b/src/requirements.txt @@ -1,5 +1,4 @@ python-dateutil -dnspython google-api-python-client google-auth google-auth-httplib2