Skip to content

Commit

Permalink
Prevent Gamera from loading Numpy.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilk committed Nov 15, 2010
1 parent 6b292ab commit 78fbbcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/gamera_extra.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def fixed_to_raw_string(*args, **kwargs):
Image._to_raw_string = fixed_to_raw_string

def init():
sys.modules['numpy'] = None
result = _init()
test_image = Image((0, 0), (5, 5), RGB)
test_string = test_image._to_raw_string()
Expand Down

0 comments on commit 78fbbcf

Please sign in to comment.