diff --git a/terminalone/metadata.py b/terminalone/metadata.py index fb14edc..fb22de6 100644 --- a/terminalone/metadata.py +++ b/terminalone/metadata.py @@ -4,7 +4,7 @@ __author__ = 'MediaMath' __copyright__ = 'Copyright 2015, MediaMath' __license__ = 'Apache License, Version 2.0' -__version__ = '1.9.19' +__version__ = '1.9.20' __maintainer__ = 'MediaMath Developer Relations' __email__ = 'developers@mediamath.com' __status__ = 'Stable' diff --git a/terminalone/models/budgetflight.py b/terminalone/models/budgetflight.py index 05bb6fb..3f9d0fe 100644 --- a/terminalone/models/budgetflight.py +++ b/terminalone/models/budgetflight.py @@ -50,7 +50,7 @@ def _construct_url(self, addl=None): def remove(self): """Remove a flight.""" - url = self._construct_url('delete') + url = self._construct_url(addl=['delete']) self._post(self._get_service_path(), rest=url, data={'version': self.version}) for item in list(self._properties.keys()): del self._properties[item]