diff options
author | Nils Gillmann <gillmann@infotropique.org> | 2018-06-17 14:24:09 +0000 |
---|---|---|
committer | Nils Gillmann <gillmann@infotropique.org> | 2018-06-17 14:24:09 +0000 |
commit | d7b35fc2672855a9494fdde0f2c04f0f77f8198a (patch) | |
tree | 54ccc68b7b29596784803eb8b6838f0fc4905484 | |
parent | 718687d529021466d7be8820397f4079015d8b80 (diff) | |
download | libextractor-python-d7b35fc2672855a9494fdde0f2c04f0f77f8198a.tar.gz libextractor-python-d7b35fc2672855a9494fdde0f2c04f0f77f8198a.zip |
foo
Signed-off-by: Nils Gillmann <gillmann@infotropique.org>
-rw-r--r-- | libextractor/examples/__main__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libextractor/examples/__main__.py b/libextractor/examples/__main__.py index 43c0ca2..746a63a 100644 --- a/libextractor/examples/__main__.py +++ b/libextractor/examples/__main__.py | |||
@@ -56,7 +56,8 @@ def print_k(xt, plugin, type, format, mime, data, datalen): | |||
56 | # (in general, depending on the mime type and format, only | 56 | # (in general, depending on the mime type and format, only |
57 | # the first 'datalen' bytes in 'data' should be used). | 57 | # the first 'datalen' bytes in 'data' should be used). |
58 | if (format == extractor.EXTRACTOR_METAFORMAT_UTF8): | 58 | if (format == extractor.EXTRACTOR_METAFORMAT_UTF8): |
59 | # print("%s - %s" % (xtract.keywordTypes()[type], mstr.value)) | 59 | print("%s - %s" % (xtract.keywordTypes()[type], mstr.value)) |
60 | # DEBUGGING OUTPUT + LOG: | ||
60 | logger.debug("%s - %s" % (xtract.keywordTypes()[type], mstr.value)) | 61 | logger.debug("%s - %s" % (xtract.keywordTypes()[type], mstr.value)) |
61 | return 0 | 62 | return 0 |
62 | 63 | ||