Handling time offset in filter as required

This commit is contained in:
Klaus-Uwe Mitterer 2017-03-08 21:06:38 +01:00
parent ed4615c890
commit 8dacc0a73e

View file

@ -46,5 +46,4 @@ def getTime(now = datetime.datetime.now()):
if __name__ == "__main__":
text = markovifyText(getText())
if filters.markov.textFilter(text):
time.sleep(getTime())
twitools.tweet(text, section = setuptools.MARKOV)