mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
minor imports problem
This commit is contained in:
parent
eaa2163cb0
commit
e691d3c80f
@ -30,10 +30,6 @@ class HostInfo:
|
||||
self.hostDir = hostDir
|
||||
self.asMirror = asMirror
|
||||
|
||||
self.importsDir = None
|
||||
if self.hostDir:
|
||||
self.importsDir = Filename(self.hostDir, 'imports')
|
||||
|
||||
# hostUrlPrefix is the host URL, but it is guaranteed to end
|
||||
# with a slash.
|
||||
self.hostUrlPrefix = hostUrl
|
||||
|
@ -2261,7 +2261,7 @@ class Packager:
|
||||
|
||||
# Now we've retrieved a PackageInfo. Get the import desc file
|
||||
# from it.
|
||||
filename = Filename(host.importsDir, package.importDescFile.basename)
|
||||
filename = Filename(host.hostDir, 'imports/' + package.importDescFile.basename)
|
||||
if not appRunner.freshenFile(host, package.importDescFile, filename):
|
||||
self.notify.error("Couldn't download import file.")
|
||||
return None
|
||||
|
Loading…
x
Reference in New Issue
Block a user