Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openblock 1.2 branch #290

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ scenes of EveryBlock.com" here: http://blip.tv/file/1957362
What's New in OpenBlock 1.2
============================

Highlights:

* Many tweaks to the public site, including: a more useful default
view of a news type ("Schema"), nicer-looking map, add/edit/delete
forms with autocomplete for user-contributed "neighbornews" content,
Expand Down
5 changes: 4 additions & 1 deletion ebpub/ebpub/streets/blockimport/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ def save(self):
if not value:
value = None
else:
value = None
try:
value = str(int(value))
except (ValueError, TypeError):
value = None
block_fields[addr_key] = value

try:
Expand Down