commit 718687d529021466d7be8820397f4079015d8b80 parent a4763e6617dc5420939f94c0183030b94c5b010a Author: Nils Gillmann <gillmann@infotropique.org> Date: Sun, 17 Jun 2018 14:21:49 +0000 typo Signed-off-by: Nils Gillmann <gillmann@infotropique.org> Diffstat:
| M | libextractor/examples/__main__.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libextractor/examples/__main__.py b/libextractor/examples/__main__.py @@ -38,7 +38,7 @@ xtract = extractor.Extractor() logger = logging.getLogger() logger.setLevel(logging.DEBUG) -formatter = logging.Formater('%(asctime)s %(levelname)s - %(message)s') +formatter = logging.Formatter('%(asctime)s %(levelname)s - %(message)s') fh = logging.FileHandler('log.txt') fh.setLevel(logging.DEBUG)