Code cleanup.

This commit is contained in:
2018-06-22 08:08:38 +01:00
parent 82f474c7e3
commit 88da8fc019
581 changed files with 22423 additions and 20839 deletions

View File

@@ -35,6 +35,7 @@ using System.Reflection;
using CommandLine;
using DiscImageChef.Commands;
using DiscImageChef.Console;
using DiscImageChef.Settings;
using Statistics = DiscImageChef.Core.Statistics;
namespace DiscImageChef
@@ -48,8 +49,7 @@ namespace DiscImageChef
DicConsole.ErrorWriteLineEvent += System.Console.Error.WriteLine;
Settings.Settings.LoadSettings();
if(Settings.Settings.Current.GdprCompliance < Settings.DicSettings.GdprLevel)
Configure.DoConfigure(true);
if(Settings.Settings.Current.GdprCompliance < DicSettings.GdprLevel) Configure.DoConfigure(true);
Statistics.LoadStats();
if(Settings.Settings.Current.Stats != null && Settings.Settings.Current.Stats.ShareStats)
Statistics.SubmitStats();