From 5e244cce980fe906fd842a2aaa353421abe1846b Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 28 Feb 2016 09:20:59 +0100 Subject: [PATCH] Don't try to import bind unix on windows --- couchpotato/runner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/couchpotato/runner.py b/couchpotato/runner.py index b3810d4..900b1f8 100644 --- a/couchpotato/runner.py +++ b/couchpotato/runner.py @@ -23,8 +23,9 @@ import requests from requests.packages.urllib3 import disable_warnings from tornado.httpserver import HTTPServer from tornado.web import Application, StaticFileHandler, RedirectHandler -from tornado.netutil import bind_unix_socket from couchpotato.core.softchroot import SoftChrootInitError +try: from tornado.netutil import bind_unix_socket +except: pass def getOptions(args):