From 662436cb985779435f48d0ac5554bc97e3ab0515 Mon Sep 17 00:00:00 2001 From: Ian Thomas Date: Sun, 26 Oct 2014 14:48:44 +0000 Subject: [PATCH] Remove duplicate import_array() call --- src/_image_wrapper.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/_image_wrapper.cpp b/src/_image_wrapper.cpp index b8490df651b5..05346cea25a7 100644 --- a/src/_image_wrapper.cpp +++ b/src/_image_wrapper.cpp @@ -764,8 +764,6 @@ PyMODINIT_FUNC init_image(void) INITERROR; } - import_array(); - if (!PyImage_init_type(m, &PyImageType)) { INITERROR; }