Skip to content

Commit

Permalink
debug win
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernrennfanz committed Jul 1, 2024
1 parent 2b90014 commit 9dc6fc6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,10 +535,11 @@ def __init__(self):
basler_pylon_install_folder = winreg.QueryValueEx(basler_pylon_registry_key, "InstallationFolder")[0]
# Check if install folder contain "Development" folder.
basler_pylon_install_dev_dir = os.path.join(basler_pylon_install_folder, "Development")
print("InstallDir:", basler_pylon_install_dev_dir)
if os.path.exists(basler_pylon_install_dev_dir):
self.PylonDevDir = basler_pylon_install_dev_dir
except OSError:
pass
except OSError as error:
print("OSError:", error)

# Throw exception if registry fallback failed.
if not self.PylonDevDir:
Expand Down

0 comments on commit 9dc6fc6

Please sign in to comment.