mirror of https://github.com/borgbackup/borg.git
use absolute import to make pyinstaller binaries work again
This commit is contained in:
parent
fa83fa1c23
commit
8221afe965
|
@ -11,6 +11,7 @@ if sys.platform.startswith("win32"):
|
|||
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 New Issue