diff options
author | spoob <spoob@gmx.de> | 2010-02-05 01:26:06 +0100 |
---|---|---|
committer | spoob <spoob@gmx.de> | 2010-02-05 01:26:06 +0100 |
commit | 910f50aad69cf7481f58dc7bb8d38924e8c8e3d8 (patch) | |
tree | 64c40f133d5bf13f7745acbdc17a85f3bd81754f /systemCheck.py | |
parent | some l18n fixes (diff) | |
download | pyload-910f50aad69cf7481f58dc7bb8d38924e8c8e3d8.tar.xz |
Fixed systemCheck for Windows
Diffstat (limited to 'systemCheck.py')
-rw-r--r-- | systemCheck.py | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/systemCheck.py b/systemCheck.py index 2c4946525..8a1b452dc 100644 --- a/systemCheck.py +++ b/systemCheck.py @@ -11,7 +11,6 @@ def main(): print "Platform:", sys.platform print "Operating System:", os.name print "Python:", sys.version.replace("\n", "") - print os.uname() print "" try: @@ -75,7 +74,6 @@ def main(): except: core_err.append("Please install py-imaging/pil to use Hoster, which uses captchas.") - pipe = subprocess.PIPE try: p = subprocess.call(["tesseract"], stdout=pipe, stderr=pipe) @@ -92,8 +90,6 @@ def main(): except: core_err.append("Install OpenSSL if you want to create a secure connection to the core.") - - if core_err: print "The system check has detected some errors:" print "" @@ -102,7 +98,6 @@ def main(): else: print "No Problems detected, pyLoadCore should work fine." - print "" print "## pyLoadGui ##" @@ -113,7 +108,6 @@ def main(): except: gui_err.append("GUI won't work without pyqt4 !!") - if gui_err: print "The system check has detected some errors:" print "" @@ -138,14 +132,10 @@ def main(): except: web_err.append("Webinterface won't work without django !!") - - if not exists(join(dirname(__file__), "module", "web", "pyload.db")): web_err.append("You dont have created database yet.") web_err.append("Please run: python %s syncdb" % join(dirname(__file__), "module", "web", "manage.py")) - - if web_err: print "The system check has detected some errors:" print "" @@ -157,4 +147,4 @@ def main(): if __name__ == "__main__": main() - raw_input("Press Enter to Exit.")
\ No newline at end of file + raw_input("Press Enter to Exit.") |