Skip to content

Commit

Permalink
BugFix
Browse files Browse the repository at this point in the history
  • Loading branch information
helviojunior committed Jul 26, 2024
1 parent 4597314 commit 3d59cd2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions filecrawler/filecrawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ def get_external_libs():
import requests
requests.packages.urllib3.disable_warnings()

if Configuration.lib_path is None or Configuration.lib_path.strip() == '':
Configuration.lib_path = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'libs')

if not os.path.isfile(os.path.join(Configuration.lib_path, 'bin', 'tika-server.jar')) or \
not os.path.isfile(os.path.join(Configuration.lib_path, 'bin', 'jadx.jar')) or \
not os.path.isfile(os.path.join(Configuration.lib_path, 'bin', 'apktool.jar')):
Expand Down

0 comments on commit 3d59cd2

Please sign in to comment.