devartis / passbook

Python library to create Apple Passbook (.pkpass) files

Home Page:http://www.devartis.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

alternate method to import file via url.

sanjubhambhani opened this issue · comments

import urllib2

def addFileURL(self, name, url):
self._files[name] = urllib2.urlopen(url).read()

this is not an issue, just an additional helpful feature.