Преглед изворни кода

Merge pull request #999 from voidplayer/patch-1

Downgrade logging to info when no optional info about images is found
Justin Mayer пре 6 година
родитељ
комит
2dd10e78bc
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      photos/photos.py

+ 1 - 1
photos/photos.py

@@ -110,7 +110,7 @@ def read_notes(filename, msg=None):
                     notes[line] = ''
     except Exception as e:
         if msg:
-            logger.warning('{} at file {}'.format(msg, filename))
+            logger.info('{} at file {}'.format(msg, filename))
         logger.debug('read_notes issue: {} at file {}. Debug message:{}'.format(msg, filename, e))
     return notes