From 72e06ea42a02d68627839017f124cfd883623e77 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 14 Dec 2011 17:27:59 +0100 Subject: pyLoad 0.4.9 --- module/setup.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'module/setup.py') diff --git a/module/setup.py b/module/setup.py index 0e8b54848..f90afe23a 100644 --- a/module/setup.py +++ b/module/setup.py @@ -28,7 +28,7 @@ from subprocess import PIPE from subprocess import call import sys from sys import exit -from module.utils import getConsoleEncoding +from module.utils import get_console_encoding class Setup(): """ @@ -38,7 +38,7 @@ class Setup(): def __init__(self, path, config): self.path = path self.config = config - self.stdin_encoding = getConsoleEncoding(sys.stdin.encoding) + self.stdin_encoding = get_console_encoding(sys.stdin.encoding) def start(self): langs = self.config.getMetaData("general", "language")["type"].split(";") @@ -190,8 +190,6 @@ class Setup(): """ make a systemcheck and return the results""" print _("## System Check ##") - python = False - if sys.version_info[:2] > (2, 7): print _("Your python version is to new, Please use Python 2.6/2.7") python = False -- cgit v1.2.3