Skip to content

Commit

Permalink
Merge pull request #20 from schmiddim/master
Browse files Browse the repository at this point in the history
Update core.py
  • Loading branch information
amotl committed Dec 24, 2019
2 parents 2cf31bc + c376de9 commit 37426b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dwdweather/core.py
Expand Up @@ -466,7 +466,7 @@ def import_measures_textfile(self, result):
cell = float(cell)
elif fieldtype == "int":
try:
cell = int(cell)
cell = int(float(cell))
except ValueError:
sys.stderr.write(
"Error in converting field '%s', value '%s' to int.\n"
Expand Down

0 comments on commit 37426b8

Please sign in to comment.