Skip to content

Commit

Permalink
accomodate hugin changing API
Browse files Browse the repository at this point in the history
  • Loading branch information
marinagmoreira committed Jun 26, 2024
1 parent 4aa6445 commit 61cf769
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pano/pano_stitch/scripts/stitch_panorama.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,7 @@ def next(self):

def read_pto(pano, pto_path):
print("\nread_pto: %s" % pto_path)
# Accomodate hugin changing API
try:
# Attempt the first method
ifs = hsi.ifstream(pto_path)
Expand All @@ -438,6 +439,7 @@ def read_pto(pano, pto_path):

def write_pto(pano, pto_path):
print("\nwrite_pto: %s" % pto_path)
# Accomodate hugin changing API
try:
# Attempt the first method
ofs = hsi.ofstream(pto_path)
Expand Down

0 comments on commit 61cf769

Please sign in to comment.