Pyinstaller: Fix path need to current directory to be correct

This commit is contained in:
Mike Auty
2022-06-05 10:57:40 +01:00
parent abca6bd820
commit 0abd2e53ab
+1 -1
View File
@@ -26,7 +26,7 @@ except ImportError:
# Volatility must be findable in sys.path in order for collect_submodules to work
# This adds the current working directory, which should usually do the trick
sys.path.append(os.getcwd())
sys.path.append(os.path.dirname(os.path.abspath(SPEC)))
vol_analysis = Analysis(['vol.py'],
pathex = [],