forgot to import platform :P. fixed
This commit is contained in:
parent
ac228f06b3
commit
046484684a
|
@ -64,6 +64,7 @@ distro_info = {
|
|||
|
||||
def get_os_info():
|
||||
if os.name =='nt':
|
||||
import platform
|
||||
win_version = platform.release()
|
||||
return 'Windows' + ' ' + win_version
|
||||
elif os.name =='posix':
|
||||
|
|
Loading…
Reference in New Issue