cleanerversion icon indicating copy to clipboard operation
cleanerversion copied to clipboard

Handle the case if querytime gets assigned None

Open maennel opened this issue 9 years ago • 0 comments

In https://github.com/swisscom/cleanerversion/blob/master/versions/models.py#L549 the docstring says that a querytime can be assigned None. If this is done, however, the DB query fails. So, instead, assign a Querytime instance with 'active' being set to False.

maennel avatar Jul 22 '16 10:07 maennel