Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
klytje committed Oct 21, 2024
1 parent 125ca72 commit 8ede875
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build_tools/get_external_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def get_ausaxs():
f.write(response.content)
print("Downloaded AUSAXS library:", lib)
import os
print(f"Location: {base_loc+lib}, found by path: {"yes" if os.path.exists(base_loc+lib) else "no"}")
print(f"Location: {base_loc+lib}, found by path: {'yes' if os.path.exists(base_loc+lib) else 'no'}")

def fetch_external_dependencies():
#surround with try/except to avoid breaking the build if the download fails
Expand Down
2 changes: 1 addition & 1 deletion installers/sasview.spec
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ if platform.system() == 'Windows':
])

import os
print(f"Library location: sas/sascalc/calculator/ausaxs/lib, found by path: {"yes" if os.path.exists(sas/sascalc/calculator/ausaxs/lib/libausaxs.dylib) else "no"}")
print(f"Library location: sas/sascalc/calculator/ausaxs/lib, found by path: {'yes' if os.path.exists(sas/sascalc/calculator/ausaxs/lib/libausaxs.dylib) else 'no'}")
a = Analysis(
['sasview.py'],
pathex=[],
Expand Down

0 comments on commit 8ede875

Please sign in to comment.