1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 01:37:20 +00:00

use absolute import to make pyinstaller binaries work again

This commit is contained in:
Thomas Waldmann 2022-10-02 01:33:57 +02:00
parent fa83fa1c23
commit 8221afe965

View file

@ -11,6 +11,7 @@
os.environ["PATH"] = os.pathsep.join(dll_path) + os.pathsep + os.environ["PATH"] os.environ["PATH"] = os.pathsep.join(dll_path) + os.pathsep + os.environ["PATH"]
from .archiver import main # note: absolute import from "borg", it seems pyinstaller binaries do not work without this.
from borg.archiver import main
main() main()