Removed some prints

This commit is contained in:
Felipe Martín 2015-07-01 23:29:35 +02:00
parent c279361105
commit d1ff401d84
1 changed files with 0 additions and 4 deletions

View File

@ -33,16 +33,12 @@ def launch_notifications(sender, instance, amiibo, old_price, new_price, **kwarg
notify = False
# Check if we already posted a notification in the given interval
print(notification.__dict__)
print(timezone.now()-timedelta(seconds=notification.interval))
if (
notification.last_notification
and notification.last_notification > timezone.now() - timedelta(seconds=notification.interval)
):
notify = False
print(notify)
if notify:
message = "{} {} {}{} - {}".format(
amiibo.name_eu,