Skip to content

Commit

Permalink
fix(pivot2osm): variable name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
azarz committed Feb 14, 2024
1 parent f59daed commit 20d0272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r2gg/_pivot_to_osm.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def pivot_to_osm(config, source, db_configs, connection, logger, output_is_pbf =
st_nodes = time.time()
while offset < nodesize:
sql_query = getQueryByTableAndBoundingBox(f'{input_schema}.nodes', source['bbox'])
sql_query2 += " LIMIT {} OFFSET {}".format(batchsize, offset)
sql_query += " LIMIT {} OFFSET {}".format(batchsize, offset)
logger.info("SQL: {}".format(sql_query))
st_execute = time.time()
cursor.execute(sql_query)
Expand Down

0 comments on commit 20d0272

Please sign in to comment.