Skip to content
Snippets Groups Projects
Commit ec3007f2 authored by Erik Nygren's avatar Erik Nygren :bullettrain_front:
Browse files

fixed None warning

parent c7abe0da
No related branches found
No related tags found
No related merge requests found
...@@ -783,9 +783,9 @@ def sparse_rail_generator(num_cities=5, grid_mode=False, max_inter_city_rails=4, ...@@ -783,9 +783,9 @@ def sparse_rail_generator(num_cities=5, grid_mode=False, max_inter_city_rails=4,
all_paths.extend(new_line) all_paths.extend(new_line)
else: else:
# TODO why can this happen? # TODO why can this happen?
warnings.warn("all neighbours are NONE!") warnings.warn("all neighbours are NONE!")
direction += 1 direction += 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment