Commits

Anonymous committed 67f3652

resolves logmessage error at control-c: ticket #66

  • Participants
  • Parent commits 8ae005e
  • Branches cherrypy

Comments (0)

Files changed (1)

File _cphttpserver.py

     if cpg.configOption.socketFile:
         try: os.chmod(socketFile, 0777) # So everyone can access the socket
         except: pass
-
+    global _cpLogMessage
     _cpLogMessage = _cputil.getSpecialFunction('_cpLogMessage')
 
     servingWhat = "HTTP"