diff options
author | luxagraf <sng@luxagraf.net> | 2024-01-17 15:51:59 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2024-01-17 15:51:59 -0500 |
commit | e02bc314f02106f7c34da2c62c1987f4fb85def1 (patch) | |
tree | a2d4e6d27542a64b4129e9f8d64e56302bac1af6 | |
parent | 635c3b970a2c68e02772dd493e4013703ef58af6 (diff) |
gtd: removed print statements from debugging
-rw-r--r-- | app/gtd/models.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/gtd/models.py b/app/gtd/models.py index 5eee8f2..3feda46 100644 --- a/app/gtd/models.py +++ b/app/gtd/models.py @@ -197,21 +197,16 @@ class WiredPost(models.Model): """ self.needs_update = False if self.date_last_pub and not self.update_schedule.exists(): - print("no schedule") td = datetime.date.today() - self.date_last_pub if self.post_status == 0 or self.post_status == 2: if td.days > self.update_frequency: self.needs_update = True - print("setting update true") self.save() if self.update_schedule.exists(): - print("scheduled post") for m in self.update_schedule.all(): td = m.date - datetime.date.today() - print(self, td.days) if td.days <= 30: self.needs_update = True - print("setting update true") self.save() return '' |