Skip to content

Commit

Permalink
- Fixes #24
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaBear84 committed May 30, 2020
1 parent b5b14b1 commit 9325cbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenDirectoryDownloader/Command.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 9325cbd

Please sign in to comment.