Skip to content

Commit

Permalink
Algorithm Language can be case insensitive (QuantConnect#5924)
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin-Molinero authored Sep 13, 2021
1 parent 024d416 commit 7be1b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Queues/JobQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class JobQueue : IJobQueueHandler
private static readonly int UserId = Config.GetInt("job-user-id", 0);
private static readonly int ProjectId = Config.GetInt("job-project-id", 0);
private readonly string AlgorithmTypeName = Config.Get("algorithm-type-name");
private readonly Language Language = (Language)Enum.Parse(typeof(Language), Config.Get("algorithm-language"));
private readonly Language Language = (Language)Enum.Parse(typeof(Language), Config.Get("algorithm-language"), ignoreCase:true);

/// <summary>
/// Physical location of Algorithm DLL.
Expand Down

0 comments on commit 7be1b7d

Please sign in to comment.