mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-18 20:31:35 +02:00
Fix: the keyword comparison
Fixed a bug in the keyword check that it was originally supposed to be case-sensitive, but it was not.
This commit is contained in:
@@ -72,7 +72,7 @@ def parseArgs(defaultConfigPath):
|
|||||||
|
|
||||||
def isValidFeature(feature):
|
def isValidFeature(feature):
|
||||||
if feature:
|
if feature:
|
||||||
if feature.upper() in validFeatureList:
|
if feature in validFeatureList:
|
||||||
return True #valid
|
return True #valid
|
||||||
return False #invalid
|
return False #invalid
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user