Explorar o código

Merge pull request #999 from voidplayer/patch-1

Downgrade logging to info when no optional info about images is found
Justin Mayer %!s(int64=6) %!d(string=hai) anos
pai
achega
2dd10e78bc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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