Skip to content

Commit

Permalink
Merge 69ded8b into 5c1e305
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmancuso committed Jul 5, 2019
2 parents 5c1e305 + 69ded8b commit 7bf616b
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions masonite/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,15 +262,7 @@ def _get_standardized_value(self, value):

return value

if isinstance(value, dict):
return value

try:
return int(value)
except (ValueError, TypeError):
pass

if isinstance(value, str):
if isinstance(value, (str, int, dict)):
return value

if not value.filename:
Expand Down

0 comments on commit 7bf616b

Please sign in to comment.