MCPcopy Index your code
hub / github.com/pyload/pyload / decrypt_from_file

Method decrypt_from_file

module/plugins/captcha/CircleCaptcha.py:764–767  ·  view source on GitHub ↗
(self, filename)

Source from the content-addressed store, hash-verified

762
763 #: Return coordinates of opened circle (eg (x, y))
764 def decrypt_from_file(self, filename):
765 #: Can be many different formats.
766 coords = self.decrypt(Image.open(filename))
767 self.log_info(_("Coords: %s") % coords)
768
769
770# DEBUG

Callers

nothing calls this directly

Calls 4

decryptMethod · 0.95
log_infoMethod · 0.80
_Function · 0.50
openMethod · 0.45

Tested by

no test coverage detected