]> kaliko git repositories - mpd-sima.git/blobdiff - sima/utils/config.py
Set max_art default value to 20
[mpd-sima.git] / sima / utils / config.py
index fd5cab6c9056d0129a71fea98a328c9f822fe258..caaac3ed64f388f7346c7bc663ca6b73f8e84aa8 100644 (file)
@@ -17,7 +17,6 @@
 #  You should have received a copy of the GNU General Public License
 #  along with sima.  If not, see <http://www.gnu.org/licenses/>.
 #
-# pylint: disable=bad-continuation
 
 """
 Deal with configuration and data files.
@@ -72,7 +71,7 @@ DEFAULT_CONF = {
             },
         'lastfm': {
             'queue_mode': "track",  # TODO control values
-            'max_art': 10,
+            'max_art': 20,
             'single_album': False,
             'track_to_add': 1,
             'album_to_add': 1,
@@ -190,10 +189,8 @@ class ConfMan:  # CONFIG MANAGER CLASS
         self.log.debug('file permission is: %o', mode)
         if mode & S_IRWXO or mode & S_IRWXG:
             self.log.warning('File is readable by "other" and/or' +
-                             ' "group" (actual permission %o octal).' %
-                             mode)
-            self.log.warning('Consider setting permissions' +
-                             ' to 600 octal.')
+                             ' "group" (actual permission %o octal).', mode)
+            self.log.warning('Consider setting permissions to 600 octal.')
 
     def supersedes_config_with_cmd_line_options(self):
         """Updates defaults settings with command line options"""