Commit 2c57b5a1 authored by Julien Muchembled's avatar Julien Muchembled

TimerService: fix import of bundled timerserver

Without this commit, it felt back to the timerserver egg.
parent 814e42cc
......@@ -6,5 +6,5 @@ class TimerServerFactory(ServerFactory):
self.interval = section.interval
def create(self):
from timerserver.TimerServer import TimerServer
from .TimerServer import TimerServer
return TimerServer(self.module, self.interval)
......@@ -2,7 +2,7 @@
<import package="ZServer" />
<sectiontype name="timer-server"
datatype="timerserver.TimerServerFactory"
datatype="Products.TimerService.timerserver.TimerServerFactory"
implements="ZServer.server">
<key name="interval" datatype="float" default="600">
<description>
......
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