Skip to content

Commit

Permalink
update unstructured
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Aug 20, 2024
1 parent 74cedc0 commit ecae65a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions bbot/core/helpers/web/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ async def request(self, *args, **kwargs):

async with self._acatch(url, raise_error):
if self.http_debug:
logstr = f"Web request: {str(args)}, {str(kwargs)}"
log.trace(logstr)
log.trace(f"Web request: {str(args)}, {str(kwargs)}")
response = await client.request(*args, **kwargs)
if self.http_debug:
log.trace(
Expand Down
2 changes: 1 addition & 1 deletion bbot/modules/unstructured.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class unstructured(BaseModule):
}

deps_apt = ["libmagic-dev", "poppler-utils", "tesseract-ocr", "libreoffice", "pandoc"]
deps_pip = ["unstructured[all-docs]>=0.5.15,<1.0"]
deps_pip = ["unstructured[all-docs]>=0.15.6,<1.0"]

scope_distance_modifier = 1

Expand Down
2 changes: 1 addition & 1 deletion bbot/scanner/preset/environ.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def add_to_path(v, k="PATH", environ=None):
if _ != v and _ not in deduped_var_list:
deduped_var_list.append(_)
deduped_var_list = [v] + deduped_var_list
new_var_str = ":".join(deduped_var_list)
new_var_str = ":".join(deduped_var_list).strip(":")
environ[k] = new_var_str


Expand Down

0 comments on commit ecae65a

Please sign in to comment.