Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /src/hugin_script_interface/hpi_classes.h [67c31c] .. [57ab9e] Maximize Restore

  Switch to side-by-side view

--- a/src/hugin_script_interface/hpi_classes.h
+++ b/src/hugin_script_interface/hpi_classes.h
@@ -123,12 +123,7 @@
     if ( hsi_module )
     {
       // load hpi module
-#if PY_MAJOR_VERSION>=3
-        hpi_module = load_module ("hpi3");
-#else
-        hpi_module = load_module ("hpi");
-#endif
-
+      hpi_module = load_module ("hpi");
       if ( hpi_module )
         activated = true ;
       else