devartis / passbook

Python library to create Apple Passbook (.pkpass) files
http://www.devartis.com/
MIT License
272 stars 108 forks source link

alternate method to import file via url. #22

Closed sanjubhambhani closed 2 years ago

sanjubhambhani commented 11 years ago

import urllib2

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

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