Merge pull request #125 from eReuse/feature/#123-internal-stats

fixing internal stats
This commit is contained in:
cayop 2021-02-23 17:50:34 +01:00 committed by GitHub
commit 2115f53f54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -441,6 +441,9 @@ class InternalStatsRow(OrderedDict):
canary = False canary = False
for _ac in ac.device.actions: for _ac in ac.device.actions:
if not _ac.type == 'Snapshot':
continue
if _ac.created < ac.created: if _ac.created < ac.created:
canary = True canary = True
break break