Commits

Jakub Wilk committed 177bca7

Change prefix for temporary captcha images.

  • Participants
  • Parent commits 6b96034

Comments (0)

Files changed (1)

leechy/__init__.py

             return
 
     def read_captcha(self, image_fp):
-        with tempfile.NamedTemporaryFile(prefix='leechy-', suffix='.image') as fp:
+        with tempfile.NamedTemporaryFile(prefix='leechy-captcha-', suffix='.image') as fp:
             fp.write(image_fp.read())
             fp.write(image_fp.read())
             fp.flush()