Skip to content

Commit

Permalink
Cambio menor para mejora del PEP8 de Python
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Dzul authored and Alex Dzul committed Feb 28, 2015
1 parent 02c79a4 commit c87fe30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyql/weather/forecast.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get(**kwargs):
pass
try:
forecast.__wind._Result = channel["wind"] # Llenamos el objeto tipo location
except:
except KeyError:
pass
try:
forecast.__atmosphere._Result = channel["atmosphere"] # Llenamos el objeto tipo atmosphere
Expand Down Expand Up @@ -442,6 +442,7 @@ def as_json(self):
Devuelve la información en Json
"""
return self._Result

@property
def title(self):
try:
Expand Down Expand Up @@ -565,7 +566,6 @@ def code(self):
except TypeError:
return None


@property
def temp(self):
try:
Expand Down

0 comments on commit c87fe30

Please sign in to comment.