aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MgaRepo/ConfigParser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/MgaRepo/ConfigParser.py b/MgaRepo/ConfigParser.py
index 82f7568..0d5624e 100644
--- a/MgaRepo/ConfigParser.py
+++ b/MgaRepo/ConfigParser.py
@@ -115,7 +115,7 @@ class ConfigParser:
return list(self.__defaults.keys())+opts
def read(self, filenames):
- if isinstance(type(filenames) , str):
+ if isinstance(filenames , str):
filenames = [filenames]
for filename in filenames:
try: