]> kaliko git repositories - mpd-sima.git/blobdiff - sima/utils/config.py
Fixed code smell
[mpd-sima.git] / sima / utils / config.py
index 2778422369aee46c1ae139a2926fd7e0f43510ae..c9240ea1c8a094d9b244c4708f5cf6588196d2c6 100644 (file)
@@ -91,7 +91,7 @@ DEFAULT_CONF = {
 #
 
 
-class ConfMan(object):  # CONFIG MANAGER CLASS
+class ConfMan:  # CONFIG MANAGER CLASS
     """
     Configuration manager.
     Default configuration is stored in DEFAULT_CONF dictionnary.
@@ -185,7 +185,6 @@ class ConfMan(object):  # CONFIG MANAGER CLASS
         # honor MPD_HOST format as in mpc(1)  for command line option --host
         if self.startopt.get('host'):
             if '@' in self.startopt.get('host'):
-                print(self.startopt.get('host').split('@'))
                 passwd, host = self.startopt.get('host').split('@')
                 self.config.set('MPD', 'password', passwd)
                 self.config.set('MPD', 'host', host)