Fix library stuck as inactive in the database

This commit is contained in:
JonnyWong16 2020-05-04 13:03:49 -07:00
parent 5499e89058
commit bfabbe3cdb
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
2 changed files with 2 additions and 1 deletions

View file

@ -61,6 +61,7 @@ def refresh_libraries():
'count': section['count'],
'parent_count': section.get('parent_count', None),
'child_count': section.get('child_count', None),
'is_active': section['is_active']
}
result = monitor_db.upsert('library_sections', key_dict=section_keys, value_dict=section_values)