mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
parent
172dae9e35
commit
26995d7b02
|
@ -4,8 +4,15 @@ from __future__ import print_function
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
if "--installed" in sys.argv:
|
||||||
|
sys_path_0 = sys.path[0]
|
||||||
|
del sys.path[0]
|
||||||
|
|
||||||
from PIL import Image, ImageDraw, ImageFilter, ImageMath
|
from PIL import Image, ImageDraw, ImageFilter, ImageMath
|
||||||
|
|
||||||
|
if "--installed" in sys.argv:
|
||||||
|
sys.path.insert(0, sys_path_0)
|
||||||
|
|
||||||
ROOT = "."
|
ROOT = "."
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user