Skip to content

Commit a7ff810

Browse files
committed
fix version loading
1 parent 0a055e4 commit a7ff810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pypop/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def get_version():
4040

4141
try:
4242
with open(resource_filename(__name__, 'version'), 'rt') as fh:
43-
fileversion = fh.readlines().strip()
43+
fileversion = fh.readlines()[0].strip()
4444
return fileversion
4545
except FileNotFoundError:
4646
pass

0 commit comments

Comments
 (0)