crs4 / hl7apy

Python library to parse, create and handle HL7 v2 messages.
http://crs4.github.io/hl7apy/
MIT License
224 stars 88 forks source link

fix: don't check sys.modules before dynamic import #94

Closed r1b closed 3 years ago

r1b commented 3 years ago
  1. importlib.import_module already does this.
  2. Moreover, you must acquire the import lock before checking sys.modules. importlib.import_module does this for you.

Fixes https://github.com/crs4/hl7apy/issues/61

svituz commented 3 years ago

Thanks for your contribution and for closing a long-standing bug