Skip to content

Commit

Permalink
Merge pull request #24 from holmgrendev/split
Browse files Browse the repository at this point in the history
Updated split of r['name']
  • Loading branch information
kipe authored Aug 11, 2022
2 parents 1883182 + 9cce237 commit 5d0c1f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nordpool/elbas.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def _parse_json(self, data, columns, areas):
if r['Name'] is None:
continue
else:
name = r['Name'].split('-')
name = ' '.join(r['Name'].split('-')).split(' ')
# Picks only "PH" product (hourly)
if not (name[0] == u'PH'):
continue
Expand Down

0 comments on commit 5d0c1f0

Please sign in to comment.