| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| @property | ||
| def weeks(self): | ||
| return self.days // 7 | ||
| weeks = abs(self.days) // 7 |
There was a problem hiding this comment.
I think replace this with return int(weeks/7.0), that will give the right zero-symmetrical floor-div behavior without the if statement.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
fix for #459