arbenramadani / sopcast-player

Automatically exported from code.google.com/p/sopcast-player
0 stars 0 forks source link

File->Open doesn't work #89

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi! This small fix will be work:

Index: lib/sopcast-player.py
===================================================================
--- lib/sopcast-player.py   (revision 280)
+++ lib/sopcast-player.py   (working copy)
@@ -449,7 +449,7 @@

        clipboard = gtk.clipboard_get().wait_for_text()

-       if clipboard[0:6].lower() == "sop://":
+       if clipboard and clipboard[0:6].lower() == "sop://":
            entry.set_text(clipboard)

        ############# Code contribution by Benjamin Kluglein ####################

Original issue reported on code.google.com by skel2...@gmail.com on 19 Mar 2012 at 3:40

GoogleCodeExporter commented 8 years ago
Thank you for the heads up, your suggestions has been implemented in the latest 
release.

Original comment by flyguy97 on 7 May 2012 at 3:03