Skip to content

Commit

Permalink
Eliminate unicode characters that were breaking Python 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
pingswept committed Jan 15, 2015
1 parent 0f1cbbb commit ee6b765
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pysolar/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def get_aberration_coeffs():

standard_pressure = 101325.00 # pascals
standard_temperature = 288.15 # kelvin
celsius_offset = 273.15 # subtract from kelvin to get °C, add to °C to get kelvin
celsius_offset = 273.15 # subtract from kelvin to get deg C, add to deg C to get kelvin
earth_temperature_lapse_rate = -0.0065 # change in temperature with height, kelvin/metre
air_gas_constant = 8.31432 # N*m/s^2
earth_gravity = 9.80665 # m/s^2 or N/kg
Expand Down
2 changes: 1 addition & 1 deletion pysolar/time.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def get_leap_seconds(when) :
) :
warnings.warn \
(
"I dont know about leap seconds after %d"
"I don't know about leap seconds after %d"
%
(leap_seconds_base_year + len(leap_seconds_adjustments) - 1)
)
Expand Down

0 comments on commit ee6b765

Please sign in to comment.