Skip to content

Commit fae7a5c

Browse files
io.open()open()
1 parent b4bb70c commit fae7a5c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
3-
import io
43
import re
54

65
import setuptools
@@ -13,7 +12,7 @@
1312

1413
def get_version():
1514
version_filepath = Path('src', 'highdicom', 'version.py')
16-
with io.open(version_filepath, 'rt', encoding='utf8') as f:
15+
with open(version_filepath, 'rt', encoding='utf8') as f:
1716
version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)
1817
return version
1918

0 commit comments

Comments
 (0)