Skip to content

Commit

Permalink
Fixed security vulnerabilities of Pillow (https://github.com/adw0rd/i…
Browse files Browse the repository at this point in the history
  • Loading branch information
adw0rd committed Mar 19, 2021
1 parent 6045f93 commit 11d8135
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion instagrapi/mixins/igtv.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
try:
from PIL import Image
except ImportError:
raise Exception("You don't have PIL installed. Please install PIL or Pillow>=7.2.0")
raise Exception("You don't have PIL installed. Please install PIL or Pillow>=8.1.1")


class DownloadIGTVMixin:
Expand Down
2 changes: 1 addition & 1 deletion instagrapi/mixins/photo.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
try:
from PIL import Image
except ImportError:
raise Exception("You don't have PIL installed. Please install PIL or Pillow>=7.2.0")
raise Exception("You don't have PIL installed. Please install PIL or Pillow>=8.1.1")


class DownloadPhotoMixin:
Expand Down
2 changes: 1 addition & 1 deletion instagrapi/story.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
try:
from PIL import Image
except ImportError:
raise Exception("You don't have PIL installed. Please install PIL or Pillow>=7.2.0")
raise Exception("You don't have PIL installed. Please install PIL or Pillow>=8.1.1")


class StoryBuilder:
Expand Down
2 changes: 1 addition & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
flake8==3.9.0
Pillow==8.1.0
Pillow==8.1.1
isort==4.3.21
bandit==1.7.0

0 comments on commit 11d8135

Please sign in to comment.