Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
dgomes committed Dec 26, 2024
1 parent b63f039 commit 62d68eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyipma/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Python library for http://api.ipma.pt."""
__version__ = "3.0.7"
__version__ = "3.0.8"

class IPMAException(Exception):
pass
Expand Down
5 changes: 1 addition & 4 deletions pyipma/location.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,7 @@ async def warnings(self, api):
area_id = districts[0].idAreaAviso

if area_id:
r = await warnings.get(area_id)
import pprint
pprint.pprint(r)
return r
return await warnings.get(area_id)

except Exception as err:
LOGGER.warning(
Expand Down

0 comments on commit 62d68eb

Please sign in to comment.