From 08bc1898ccb66004475035721cd32f8f26000b39 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Wed, 25 Jan 2017 08:57:23 -0500 Subject: [PATCH] fix splitlines --- src/gam.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gam.py b/src/gam.py index 958b3a9c..b57b96e9 100755 --- a/src/gam.py +++ b/src/gam.py @@ -6292,7 +6292,8 @@ and accept the Terms of Service (ToS). As soon as you've accepted the ToS popup, break apis_url = u'https://raw.githubusercontent.com/jay0lee/GAM/master/src/project-apis.txt' http = httplib2.Http(disable_ssl_certificate_validation=GC_Values[GC_NO_VERIFY_SSL]) - _, apis = http.request(apis_url, u'GET').splitlines() + _, c = http.request(apis_url, u'GET') + apis = c.splitlines() serveman = googleapiclient.discovery.build(u'servicemanagement', u'v1', http=http, cache_discovery=False) for api in apis: while True: