Skip to content

Commit

Permalink
fix types of returned values
Browse files Browse the repository at this point in the history
  • Loading branch information
tomi77 committed Oct 24, 2014
1 parent 1bb80bf commit 33e8538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion best_before.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def possible_dates(date, separator=None):

parts = date.split(separator)
if len(parts) != 3:
return []
return dates

input_parts = [int(part) for part in parts]

Expand Down

0 comments on commit 33e8538

Please sign in to comment.