summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@gnome.org>2015-09-30 18:13:28 +0200
committerThibault Saunier <tsaunier@gnome.org>2015-09-30 18:13:28 +0200
commit91b3001f770a6a7216acd231739b341433be8e65 (patch)
tree66f7f06ea115b1d1759466b436706ab64ee2c211
parentb59cc63de7a92f0cc7389f25bfbcb81c63e6b3a7 (diff)
validate:launcher: Treat min-media-duration as a float
-rw-r--r--validate/launcher/baseclasses.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/validate/launcher/baseclasses.py b/validate/launcher/baseclasses.py
index 3ce2ed4..2cddd0d 100644
--- a/validate/launcher/baseclasses.py
+++ b/validate/launcher/baseclasses.py
@@ -1348,7 +1348,7 @@ class Scenario(object):
def get_min_media_duration(self):
if hasattr(self, "min_media_duration"):
- return long(self.min_media_duration)
+ return float(self.min_media_duration)
return 0