FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update to correct Pillow method.. · Sukelluskello/httpscreenshot@c9f2ae3 · GitHub

Commit c9f2ae3

Browse files
committed
Update to correct Pillow method..
# Lines 25-27 are out of date methods as per (http://pillow.readthedocs.org/en/latest/installation.html)
1 parent 4744eee commit c9f2ae3

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

‎httpscreenshot.py‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,13 @@
2121
import re
2222
from random import shuffle
2323
import time
24-
import Image
25-
import ImageDraw
26-
import ImageFont
24+
# Lines 25-27 are out of date methods as per (http://pillow.readthedocs.org/en/latest/installation.html)
25+
#import Image
26+
#import ImageDraw
27+
#import ImageFont
28+
from PIL import Image
29+
from PIL import ImageDraw
30+
from PIL import ImageFont
2731
import signal
2832

2933
reload(sys)

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL