Skip to content

Commit 450d1f3

Browse files
committed
Fix: improper logic when using the force tika flag
1 parent 0380579 commit 450d1f3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

worker/iocextract/iocextract/iocextract.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def activate(self, stoq):
4444
help="Password for encrypted file")
4545
worker_opts.add_argument("-t", "--force-tika",
4646
dest='force_tika',
47-
action='store_false',
47+
action='store_true',
4848
help="Force the use of tika for all files")
4949

5050
options = parser.parse_args(self.stoq.argv[2:])

worker/iocextract/iocextract/iocextract.stoq

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Module = iocextract
1818

1919
[Documentation]
2020
Author = Marcus LaFerrera
21-
Version = 0.10
21+
Version = 0.10.1
2222
Website = https://github.com/PUNCH-Cyber/stoq-plugins-public
2323
Description = Utilizes reader/iocregex plugin to extract indicators of compromise from documents
2424

worker/iocextract/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="iocextract",
5-
version="0.10",
5+
version="0.10.1",
66
author="Marcus LaFerrera (@mlaferrera)",
77
url="https://github.com/PUNCH-Cyber/stoq-plugins-public",
88
license="Apache License 2.0",

0 commit comments

Comments
 (0)