summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordkarama <79789208+dkarama@users.noreply.github.com>2021-04-06 15:27:53 +0000
committerGitHub <noreply@github.com>2021-04-06 15:27:53 +0000
commit4e7efe1ba67a5a749895ceea453d7df30f800037 (patch)
tree39da278e8b316b76f2c6c1d9c3ea4c3597370848
parente1ed83ddc4c6acb60ca6b55577670374f7f31cab (diff)
parenta4d2cb1d845928066679a55b4767a779b2ba561e (diff)
downloadqutebrowser-4e7efe1ba67a5a749895ceea453d7df30f800037.tar.gz
qutebrowser-4e7efe1ba67a5a749895ceea453d7df30f800037.zip
Merge pull request #2 from dkarama/debug-lines
Add debug lines for lib_file
-rw-r--r--qutebrowser/misc/elf.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/qutebrowser/misc/elf.py b/qutebrowser/misc/elf.py
index 1d26df85f..ce256ee7f 100644
--- a/qutebrowser/misc/elf.py
+++ b/qutebrowser/misc/elf.py
@@ -318,7 +318,10 @@ def parse_webenginecore() -> Optional[Versions]:
library_name = sorted(list(pathlib.Path(library_path).glob('libQt5WebEngineCore.so*')))
lib_file = library_path / library_name[-1].as_posix()
- if not lib_file.exists():
+ if lib_file.exists():
+ log.misc.debug(f"QtWebEngine .so found at {lib_file}")
+ else:
+ log.misc.debug(f"No QtWebEngine .so found in {library_path}")
return None
try: