diff --git a/TVRename#/TheTVDB/TheTVDB.cs b/TVRename#/TheTVDB/TheTVDB.cs index 62aa8ffac..21bcfbdc7 100644 --- a/TVRename#/TheTVDB/TheTVDB.cs +++ b/TVRename#/TheTVDB/TheTVDB.cs @@ -871,7 +871,8 @@ public bool GetUpdates() } } - float percentDirty = 100 * totaldirty / totaleps; + float percentDirty = 100; + if (totaldirty > 0 || totaleps > 0) percentDirty = 100 * totaldirty / totaleps; if ((totaleps>0) && ((percentDirty) >=10)) // 10% { kvp.Value.Dirty = true;