Eichhoernchen/SiriServer — Issue #164: to developer time.pause() question
Author: DerPeiler
Created: 2012-02-09 13:18:02+00:00
State: open

Hi,

i want to make a plugin and need the time.pause() command. That's my code.

import time
.
.
.
self.say("Test1")
time.sleep(5) #sleeps 5 seconds
self.say("Test2")

AttributeError: 'module' object has no attribute 'sleep'

i searched already on google and found this, http://ubuntuforums.org/showthread.php?t=1129861, but not helpful in this case.

Maybe some of you can help me.

THX!