Skip to content

Commit

Permalink
github download TLS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kmarkley committed Mar 4, 2018
1 parent 89bcbe2 commit 71760ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Mac Apps.indigoPlugin/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>PluginVersion</key>
<string>0.0.7</string>
<string>0.0.8</string>
<key>ServerApiVersion</key>
<string>2.0</string>
<key>IwsApiVersion</key>
Expand Down
6 changes: 5 additions & 1 deletion Mac Apps.indigoPlugin/Contents/Server Plugin/ghpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,11 @@ def _getZipFileFromRelease(self, release):

self._debug('Downloading zip file: %s' % zipball)

zipdata = urlopen(zipball).read()
# zipdata = urlopen(zipball).read()
f = subprocess.Popen(["curl", "-L", zipball], stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=False)
zipdata, err = f.communicate()
self._debug(u'HTTP Err result:'+unicode(err) )
self._debug(u'ReturnCode:{0}'.format(unicode(f.returncode)))
zipfile = ZipFile(StringIO(zipdata))

self._debug('Verifying zip file (%d bytes)...' % len(zipdata))
Expand Down

0 comments on commit 71760ce

Please sign in to comment.