Skip to content

Commit a72aca7

Browse files
Pequewholmgren
authored andcommitted
Get rid of re deprecation warnings (#787)
1 parent a210432 commit a72aca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pvlib/iotools/tmy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ def _read_tmy2(string, columns, hdr_columns, fname):
468468
continue
469469

470470
# Read the next increment from the marker list
471-
increment = int(re.findall('\d+', marker)[0])
471+
increment = int(re.findall(r'\d+', marker)[0])
472472
next_cursor = cursor + increment
473473

474474
# Extract the value from the line in the file

0 commit comments

Comments
 (0)