PalmBeachPost / postgeo

Geocode CSVs and jitter overlapping points
MIT License
23 stars 3 forks source link

cellspacer.py fails in verbose mode #4

Closed michealbeatty closed 8 years ago

michealbeatty commented 8 years ago

In the condition where value == flagonsolo and verbose == 1, cellspacer.py fails because the print statement references the bearing variable before it has a value assigned to it. bearing only has a value assigned to it when value is not equal to flagonsolo. This should be an easy fix by adding a generic assignment to bearing in condition where value == flagonsolo such as bearing = "N/A"

stucka commented 8 years ago

Fixed by earlier @amikiri update. Changed to -1 just because I never feel comfortable with Python shifting types. =)