]> code.delx.au - pymsnt/blobdiff - src/main.py
* PyMSNt now supports Twisted 2.5
[pymsnt] / src / main.py
index e34f95a31c54b4b6ff0050dba35c8e03b3865eef..b31aa8e895e129f12c3ba2011e38eb3bed2f9a23 100644 (file)
@@ -390,7 +390,7 @@ if os.name == "posix":
        # Set SIGHUP to reload the config file & close & open debug file
        signal.signal(signal.SIGHUP, SIGHUPstuff)
        # Load some scripts for PID and daemonising
-       from twisted.scripts import twistd
+       from twisted.scripts import _twistd_unix as twistd
 
 
 def main():