|
|
|
@ -1,4 +1,5 @@ |
|
|
|
import xmpp, os, sys, time, traceback |
|
|
|
import xmpp, os, sys, time, traceback |
|
|
|
|
|
|
|
import threading |
|
|
|
|
|
|
|
|
|
|
|
from config import * |
|
|
|
from config import * |
|
|
|
|
|
|
|
|
|
|
|
@ -257,7 +258,7 @@ def loop(): |
|
|
|
print "---------------------------" |
|
|
|
print "---------------------------" |
|
|
|
|
|
|
|
|
|
|
|
def callAt(func,_time,*args): |
|
|
|
def callAt(func,_time,*args): |
|
|
|
s=time.time()-_time |
|
|
|
s=_time-time.time() |
|
|
|
def run(): |
|
|
|
def run(): |
|
|
|
if s>0: |
|
|
|
if s>0: |
|
|
|
time.sleep(s) |
|
|
|
time.sleep(s) |
|
|
|
|