We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f59024 commit 66209e4Copy full SHA for 66209e4
pvlib/iotools/bsrn.py
@@ -92,7 +92,7 @@ def read_bsrn(filename):
92
if str(filename).endswith('.gz'): # check if file is a gzipped (.gz) file
93
open_func, mode = gzip.open, 'rt'
94
else:
95
- open_func, mode = open, 'r'
+ open_func, mode = open, 'r'
96
with open_func(filename, mode) as f:
97
for num, line in enumerate(f):
98
if num == 1: # Get month and year from the 2nd line
0 commit comments