diff --git a/meanas/__init__.py b/meanas/__init__.py index 354adc9..0757a5c 100644 --- a/meanas/__init__.py +++ b/meanas/__init__.py @@ -11,7 +11,8 @@ __author__ = 'Jan Petykiewicz' try: - with open(pathlib.Path(__file__).parent / 'README.md', 'r') as f: + readme_path = pathlib.Path(__file__).parent / 'README.md' + with readme_path.open('r') as f: __doc__ = f.read() except Exception: pass