From 6a3cface7a02bb225caff97c134ee7d05dbc1531 Mon Sep 17 00:00:00 2001 From: zone117x Date: Mon, 25 May 2015 17:49:23 -0600 Subject: [PATCH] Bug fix for TorrentShack --- src/Jackett/Indexers/TorrentShack.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jackett/Indexers/TorrentShack.cs b/src/Jackett/Indexers/TorrentShack.cs index cfc102b55..74366b36a 100644 --- a/src/Jackett/Indexers/TorrentShack.cs +++ b/src/Jackett/Indexers/TorrentShack.cs @@ -160,7 +160,7 @@ namespace Jackett.Indexers var sizeStr = qRow.Find(".size")[0].ChildNodes[0].NodeValue.Trim(); var sizeParts = sizeStr.Split(' '); - release.Size = ReleaseInfo.GetBytes(sizeParts[1], float.Parse(sizeParts[0])); + release.Size = ReleaseInfo.GetBytes(sizeParts[1], float.Parse(sizeParts[0], NumberStyles.AllowThousands)); release.Seeders = int.Parse(qRow.Children().ElementAt(6).InnerText.Trim(), NumberStyles.AllowThousands); release.Peers = int.Parse(qRow.Children().ElementAt(7).InnerText.Trim(), NumberStyles.AllowThousands) + release.Seeders;