forgot to import platform :P. fixed

This commit is contained in:
Nikos Kouremenos 2005-04-11 16:19:29 +00:00
parent ac228f06b3
commit 046484684a
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ distro_info = {
def get_os_info(): def get_os_info():
if os.name =='nt': if os.name =='nt':
import platform
win_version = platform.release() win_version = platform.release()
return 'Windows' + ' ' + win_version return 'Windows' + ' ' + win_version
elif os.name =='posix': elif os.name =='posix':