Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
wuan committed Dec 13, 2019
1 parent 0a9d653 commit d648f16
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions blitzortung/service/strike_grid.py
Expand Up @@ -126,9 +126,7 @@ def create(self, grid_parameters, minute_length, minute_offset, count_threshold,
query = self.strike_query_builder.global_grid_query(db.table.Strike.TABLE_NAME, grid_parameters,
time_interval=time_interval, count_threshold=count_threshold)

query_string = str(query)
print(query_string)
grid_query = connection.runQuery(query_string, query.get_parameters())
grid_query = connection.runQuery(str(query), query.get_parameters())
grid_query.addCallback(self.build_strikes_grid_result, state=state)
grid_query.addErrback(log.err)
return grid_query, state
Expand Down

0 comments on commit d648f16

Please sign in to comment.