fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More tolerance for bad url metadata.
[wolnelektury.git]
/
apps
/
funding
/
management
/
commands
/
funding_notify.py
diff --git
a/apps/funding/management/commands/funding_notify.py
b/apps/funding/management/commands/funding_notify.py
index
a583b27
..
3051276
100755
(executable)
--- a/
apps/funding/management/commands/funding_notify.py
+++ b/
apps/funding/management/commands/funding_notify.py
@@
-14,7
+14,7
@@
class Command(BaseCommand):
help = 'Sends relevant funding notifications.'
def handle(self, **options):
help = 'Sends relevant funding notifications.'
def handle(self, **options):
-
+
from datetime import date, timedelta
from funding.models import Offer
from funding import app_settings
from datetime import date, timedelta
from funding.models import Offer
from funding import app_settings
@@
-27,7
+27,7
@@
class Command(BaseCommand):
offer.notify_end()
current = Offer.current()
offer.notify_end()
current = Offer.current()
- if (current is not None and
+ if (current is not None and
current.end <= date.today() + timedelta(app_settings.DAYS_NEAR - 1) and
not current.notified_near):
if verbose:
current.end <= date.today() + timedelta(app_settings.DAYS_NEAR - 1) and
not current.notified_near):
if verbose: