Commits

Mikhail Korobov committed ca96f7a Merge

oops. merge

  • Participants
  • Parent commits f05fde7, e19dc8e

Comments (0)

Files changed (1)

File easy_maps/templatetags/easy_maps_tags.py

         if isinstance(address, Address):
             return address
 
-        if address == '':
+        if not address:
             map_ = Address(latitude=settings.EASY_MAPS_CENTER[0],
                            longitude=settings.EASY_MAPS_CENTER[1])
         else: