Change the syntax to remove warning

LT1AB
Bryan Marfito 2021-07-02 11:42:39 +08:00 committed by GitHub
parent a976d12c51
commit e5ce2c0a29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class ConfigParser:
# Looks for string between $ sysmbols in the common subheading in config file
def __parseString(self, iString):
if iString is '':
if iString == '':
return iString
elif isinstance(self.common, (dict)):
# Case when "common" parameters are read from the configuration file