(self, url)
| 755 | |
| 756 | #: Return coordinates of opened circle (eg (x, y)) |
| 757 | def decrypt_from_web(self, url): |
| 758 | file = cStringIO.StringIO(urllib.urlopen(url).read()) |
| 759 | img = Image.open(file) |
| 760 | coords = self.decrypt(img) |
| 761 | self.log_info(_("Coords: %s") % coords) |
| 762 | |
| 763 | #: Return coordinates of opened circle (eg (x, y)) |
| 764 | def decrypt_from_file(self, filename): |