mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-09 23:15:58 -06:00
Fix Python 3 compatibility bug
This commit is contained in:
parent
eb89998dc0
commit
696343196a
@ -18,7 +18,7 @@ from codecs import open
|
||||
# Get the requirements list for the current version of Python
|
||||
req_file='../requirements.txt'
|
||||
|
||||
with open(req_file) as reqf:
|
||||
with open(req_file, 'r') as reqf:
|
||||
if sys.version_info[0] >= 3:
|
||||
required = reqf.read().splitlines()
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user