add suggestions from code review

This commit is contained in:
dkanada 2019-02-01 14:45:43 +09:00
parent 52e91243e5
commit c118f111b6
2 changed files with 1 additions and 4 deletions

View File

@ -46,7 +46,4 @@
<EmbeddedResource Include="Localization\Ratings\*.txt" /> <EmbeddedResource Include="Localization\Ratings\*.txt" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Folder Include="ScheduledTasks\Triggers\" />
</ItemGroup>
</Project> </Project>

View File

@ -95,7 +95,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
lock (progress) lock (progress)
{ {
numComplete++; numComplete++;
progress.Report(90 * numComplete / packagesToInstall.Count + 10); progress.Report(90.0 * numComplete / packagesToInstall.Count + 10);
} }
} }