Permalink
Browse files

added handling for a min_id of NoneType

  • Loading branch information...
1 parent bb8abc5 commit c1359c1aee22a3aa82883b8d7736053953af331d @jeads committed Jul 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 datasource/bases/RDBSHub.py
@@ -503,7 +503,7 @@ def __get_execute_sets(self, sql, kwargs):
proc='sql.ds_selects.get_min',
replace=[ column, table ],
return_type='iter')
- min_id = int(min.get_column_data('min_id'))
+ min_id = int(min.get_column_data('min_id') or min_id)
max_id = int(max.get_column_data('max_id') or 0)
if 'chunk_total' in kwargs:

0 comments on commit c1359c1

Please sign in to comment.