launch: do not try to catalogue SVGs

This commit is contained in:
Thibault Deckers 2020-07-26 01:21:58 +09:00
parent d368fbe65c
commit bcc571fa84

View file

@ -23,7 +23,7 @@ mixin TagMixin on SourceBase {
Future<void> catalogEntries() async { Future<void> catalogEntries() async {
// final stopwatch = Stopwatch()..start(); // final stopwatch = Stopwatch()..start();
final todo = rawEntries.where((entry) => !entry.isCatalogued).toList(); final todo = rawEntries.where((entry) => !entry.isCatalogued && !entry.isSvg).toList();
if (todo.isEmpty) return; if (todo.isEmpty) return;
var progressDone = 0; var progressDone = 0;