kopia lustrzana https://github.com/OpenDroneMap/ODM
Path fix
rodzic
5a320d6ceb
commit
5db5eddd73
|
@ -82,7 +82,7 @@ class ODMSmvsCell(ecto.Cell):
|
|||
system.run('%s %s %s' % (context.smvs_path, ' '.join(config), tree.smvs))
|
||||
|
||||
# find and rename the output file for simplicity
|
||||
smvs_files = glob.glob('smvs-*')
|
||||
smvs_files = glob.glob(os.path.join(tree.smvs, 'smvs-*'))
|
||||
smvs_files.sort(key=os.path.getmtime) # sort by last modified date
|
||||
if len(smvs_files) > 0:
|
||||
old_file = smvs_files[-1]
|
||||
|
|
Ładowanie…
Reference in New Issue