Skip to content

Commit 0b47370

Browse files
Update config.py (fix for python 3.9 version)
Signed-off-by: SACHIDANAND ALLE <[email protected]>
1 parent 1fe0e8f commit 0b47370

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monailabel/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
def is_package_installed(name):
20-
return name in sorted(x.name for x in distributions())
20+
return name in (x.metadata.get('Name') for x in distributions())
2121

2222

2323
class Settings(BaseSettings):

0 commit comments

Comments
 (0)