From 2c75f786c3a0ec06c36d0d635378ef649d1cd8a1 Mon Sep 17 00:00:00 2001 From: Yacine Elhamer Date: Tue, 29 Aug 2023 22:35:49 +0200 Subject: [PATCH] main.py rdoc.Metadata creation: revert to usage of `as_posix()` within the call to rdoc.Sample() --- capa/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capa/main.py b/capa/main.py index 437a7e3a..d3106981 100644 --- a/capa/main.py +++ b/capa/main.py @@ -1021,7 +1021,7 @@ def collect_metadata( md5=md5, sha1=sha1, sha256=sha256, - path=str(Path(sample_path).resolve()), + path=Path(sample_path).resolve().as_posix(), ), flavor=flavor, analysis=get_sample_analysis(