sehmaschine/django-filebrowser — pull request #74 by fetzig (2012-02-02 14:11:15+00:00)
Title: bugfix

prevents you from AttributeError: 'NoneType' object has no attribute 'get' (the none object is "attrs")

other possibility:
if attrs is not None:
self.attrs = attrs.copy()
else:
self.attrs = {}

seen @ django.forms.widgets.Widget