Changed LocationAttachment

This commit is contained in:
Kacper Ziubryniewicz
2018-09-29 13:40:38 +02:00
committed by GitHub
parent c6dc432d06
commit 8169a5f776

View File

@@ -302,13 +302,11 @@ class LocationAttachment(Attachment):
#: URL to Bing maps with the location
url = None
def __init__(self, latitude=None, longitude=None, image=None, url=None, **kwargs):
def __init__(self, latitude=None, longitude=None, **kwargs):
"""Represents a user location"""
super(LocationAttachment, self).__init__(**kwargs)
self.latitude = latitude
self.longitude = longitude
self.image = image
self.url = url
class LiveLocationAttachment(LocationAttachment):
#: Name of the location