mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-25 09:19:31 +00:00
use absolute import to make pyinstaller binaries work again
This commit is contained in:
parent
fa83fa1c23
commit
8221afe965
1 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
|||
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()
|
||||
|
|
Loading…
Reference in a new issue