From 4aa9cf318a48e5251b46f361dcaa7c14f64821bd 2006-01-16 11:00:41 From: vivainio Date: 2006-01-16 11:00:41 Subject: [PATCH] Corrected platform recognition for win32 --- diff --git a/IPython/platutils.py b/IPython/platutils.py index fbb9af6..839e1b8 100644 --- a/IPython/platutils.py +++ b/IPython/platutils.py @@ -21,11 +21,11 @@ from IPython import Release __author__ = '%s <%s>' % Release.authors['Ville'] __license__ = Release.license -import os +import os,sys if os.name == 'posix': from platutils_posix import * -elif os.name == 'win32': +elif sys.platform == 'win32': from platutils_win32 import * else: from platutils_dummy import *