From 9325cbd7aa2fe27842284ca0e4fc5096b91d9ae1 Mon Sep 17 00:00:00 2001 From: KoalaBear Date: Sat, 30 May 2020 15:07:51 +0200 Subject: [PATCH] - Fixes #24 --- OpenDirectoryDownloader/Command.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenDirectoryDownloader/Command.cs b/OpenDirectoryDownloader/Command.cs index 90478861..1cc90dba 100644 --- a/OpenDirectoryDownloader/Command.cs +++ b/OpenDirectoryDownloader/Command.cs @@ -72,7 +72,7 @@ internal static void ProcessConsoleInput(OpenDirectoryIndexer openDirectoryIndex ShowInfoAndCommands(); break; case 'c': - if (OpenDirectoryIndexer.Session.Finished != DateTimeOffset.MinValue) + if (openDirectoryIndexer.Session.Finished != DateTimeOffset.MinValue) { Clipboard.SetText(Statistics.GetSessionStats(openDirectoryIndexer.Session, includeExtensions: true, onlyRedditStats: true)); KillApplication(); @@ -142,7 +142,7 @@ private static void SaveSession(OpenDirectoryIndexer openDirectoryIndexer) try { Console.WriteLine("Saving session to JSON"); - Library.SaveSessionJson(OpenDirectoryIndexer.Session); + Library.SaveSessionJson(openDirectoryIndexer.Session); Console.WriteLine("Saved session to JSON"); } catch (Exception ex)