Skip to content

Commit c7a2e7b

Browse files
committed
remove python3-ism from loader
1 parent b805925 commit c7a2e7b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

magic/loader.py

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

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

0 commit comments

Comments
 (0)