Skip to content

Commit 7cde785

Browse files
committed
Revert "remove python3-ism from loader"
This reverts commit c7a2e7b.
1 parent e0052c5 commit 7cde785

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

magic/loader.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ def _lib_candidates():
1919

2020
try:
2121
local_brew_path = subprocess.check_output(['brew', '--prefix']).decode('UTF-8')
22-
local_brew_path = local_brew_path.strip()
23-
paths.append(local_brew_path + '/lib')
22+
paths.append(f'{local_brew_path.strip()}/lib')
2423
except:
2524
pass
2625

0 commit comments

Comments
 (0)