Skip to content

Commit d36c508

Browse files
authored
fixed f string formatting
stickler doesn't like it but it doesn't work with spaces
1 parent a2496e5 commit d36c508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pvlib/iotools/pvgis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ def get_pvgis_horizon(latitude, longitude, proxies=None, url=URL):
681681
Pandas dataframe of the retrived horizon
682682
'''
683683
res = requests.get(url +
684-
f'printhorizon?lat={ latitude }&lon={ longitude }',
684+
f'printhorizon?lat={latitude}&lon={longitude}',
685685
proxies=proxies, verify=False)
686686
res.raise_for_status()
687687
string = str(io.BytesIO(res.content).read().decode('UTF-8'))

0 commit comments

Comments
 (0)