Commit f6a3ddd7 authored by Jeremy Hylton's avatar Jeremy Hylton

Fix problem with import.

parent 65974195
......@@ -75,8 +75,8 @@ class Service(win32serviceutil.ServiceFramework):
def logmsg(self, event):
# log a service event using servicemanager.LogMsg
from servicemanager import LogMsg
LogMsg(servicemanager.EVENTLOG_INFORMATION_TYPE, event,
from servicemanager import LogMsg, EVENTLOG_INFORMATION_TYPE
LogMsg(EVENTLOG_INFORMATION_TYPE, event,
(self._svc_name_, " (%s)" % self._svc_display_name_))
def info(self, s):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment