Skip to content

Commit

Permalink
Fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Grim-es committed Dec 1, 2018
1 parent 9e305d5 commit e48bf0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
os.system('"{}" "{}"'.format(bpy.app.binary_path_python,
os.path.join(os.path.dirname(os.path.abspath(__file__)), 'get-pip.py')))
try:
os.system('"{}" -m pip install Pillow -U'.format(bpy.app.binary_path_python))
os.system('"{}" -m pip install Pillow --user --upgrade'.format(bpy.app.binary_path_python))
except Exception as e:
print(e)
pass
Expand Down
2 changes: 1 addition & 1 deletion operators/combining/operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import random
try:
from PIL import Image, ImageChops
except ImportError(Image, ImageChops):
except ImportError:
pass
from collections import defaultdict
from ... utils . materials import get_texture, get_diffuse
Expand Down

0 comments on commit e48bf0a

Please sign in to comment.