mirror of
https://github.com/jellyfin/jellyfin-plugin-trakt.git
synced 2024-11-27 07:40:26 +00:00
fix precision
This commit is contained in:
parent
f851084189
commit
f5e39eab8d
@ -87,7 +87,7 @@ public class SyncFromTraktTask : IScheduledTask
|
||||
}
|
||||
|
||||
// Purely for progress reporting
|
||||
var percentPerUser = 100 / users.Count;
|
||||
var percentPerUser = 100d / users.Count;
|
||||
double currentProgress = 0;
|
||||
var numComplete = 0;
|
||||
|
||||
|
@ -93,7 +93,7 @@ public class SyncLibraryTask : IScheduledTask
|
||||
|
||||
// Purely for progress reporting
|
||||
double currentProgress = 0;
|
||||
var percentPerUser = 100.0 / users.Count;
|
||||
var percentPerUser = 100d / users.Count;
|
||||
|
||||
foreach (var user in users)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user