Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Commit

Permalink
Use the right variable name!
Browse files Browse the repository at this point in the history
  • Loading branch information
vegitron committed Jun 22, 2015
1 parent 0164bd3 commit 5f5728e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlshare_rest/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def parser_json_data(self):
column_data = list(map(lambda x: {"name": x},
column_list))

max_rows = FileField.MAX_PARSER_PREVIEW
max_rows = FileUpload.MAX_PARSER_PREVIEW
return {
"parser": {"delimiter": self.delimiter,
"has_column_headers": self.has_column_header},
Expand Down

0 comments on commit 5f5728e

Please sign in to comment.