diff options
Diffstat (limited to 'MgaRepo')
-rw-r--r-- | MgaRepo/ConfigParser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MgaRepo/ConfigParser.py b/MgaRepo/ConfigParser.py index 50a4cfe..82f7568 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 type(filenames) in str: + if isinstance(type(filenames) , str): filenames = [filenames] for filename in filenames: try: |