diff options
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2011-01-13 14:15:34 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-09-26 17:13:58 +0100 |
commit | 3e3795068eca569c3ce5748735f3a61732ae5b6d (patch) | |
tree | 29ca70642cd6b2f5b631d7c0de29cc7051372063 | |
parent | bbeaad89bdd9b810f80ddcd29a8290493546a9d3 (diff) |
remuxer.py: do not crash when clicking open without having selected a file
https://bugzilla.gnome.org/show_bug.cgi?id=639421
-rw-r--r-- | examples/remuxer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/remuxer.py b/examples/remuxer.py index 096344a..31d4606 100644 --- a/examples/remuxer.py +++ b/examples/remuxer.py @@ -722,7 +722,7 @@ class PlayerWindow(gtk.Window): uri = chooser.get_uri() chooser.destroy() - if resp == SUCCESS: + if resp == SUCCESS and uri != None: self.load_file(uri) return True else: |