mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix database being in use while trying a master update.
This commit is contained in:
@@ -277,9 +277,9 @@ namespace Aaru.Core
|
||||
Start(ctx =>
|
||||
{
|
||||
ProgressTask task = ctx.AddTask("Adding known iNES/NES 2.0 headers");
|
||||
task.MaxValue = sync.NesHeaders.Count;
|
||||
task.MaxValue = sync.NesHeaders?.Count ?? 0;
|
||||
|
||||
foreach(NesHeaderDto header in sync.NesHeaders)
|
||||
foreach(NesHeaderDto header in sync.NesHeaders ?? new List<NesHeaderDto>())
|
||||
{
|
||||
task.Increment(1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user