Fix autofriday

This commit is contained in:
Matthias Meusburger 2012-10-20 19:21:08 +02:00
parent be0f1c629e
commit 800cad6b13
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ class DuckHunt(callbacks.Plugin):
self.manualFriday[channel] = False
if self.registryValue('autoFriday', channel):
if self.registryValue('autoFriday', channel) == True:
if int(time.strftime("%w")) == 5 and int(time.strftime("%H")) > 8 and int(time.strftime("%H")) < 17:
self.fridayMode[channel] = True
else: