correctly migrate models that have relative paths

This commit is contained in:
Lincoln Stein 2023-06-22 21:10:31 -04:00
parent c7b7e087e4
commit a910403003

View File

@ -307,7 +307,7 @@ class MigrateTo3(object):
# handle relative paths
dest_dir = self.dest_models
location = self.src_paths.models / location
location = self.root_directory / location
info = ModelProbe().heuristic_probe(location)
if not info: