Skip to content
Permalink
Browse files

Ignore Locale decimal symbol.

  • Loading branch information...
bond4u committed Aug 9, 2019
1 parent a893a3e commit 3d0fc87b01b43a0f57505ace2a423b92dcc01605
Showing with 2 additions and 11 deletions.
  1. +2 −11 Shoko.Server/Settings/ServerSettings.cs
@@ -9,19 +9,10 @@
using Shoko.Models.Client;
using Shoko.Models.Enums;
using Shoko.Server.ImageDownload;
using Shoko.Server.Settings;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
using Shoko.Server.Repositories;
using Shoko.Server.Utilities;
using Legacy = Shoko.Server.Settings.Migration.ServerSettings_Legacy;
using System.Globalization;

namespace Shoko.Server.Settings
{
@@ -173,7 +164,7 @@ private static ServerSettings LoadLegacySettings()
AnimeXmlDirectory = Legacy.AnimeXmlDirectory,
MyListDirectory = Legacy.MyListDirectory,
ServerPort = (ushort)Legacy.JMMServerPort,
PluginAutoWatchThreshold = double.Parse(Legacy.PluginAutoWatchThreshold),
PluginAutoWatchThreshold = double.Parse(Legacy.PluginAutoWatchThreshold, CultureInfo.InvariantCulture),
Culture = Legacy.Culture,
WebUI_Settings = Legacy.WebUI_Settings,
FirstRun = Legacy.FirstRun,

0 comments on commit 3d0fc87

Please sign in to comment.
You can’t perform that action at this time.