Fix for Python 2.4 compatibility.
This commit is contained in:
parent
0573e56d2c
commit
7fbcf08242
@ -135,7 +135,7 @@ class ClipboardIcon(CanvasIcon):
|
||||
if not uri.startswith('file://'):
|
||||
return
|
||||
|
||||
path = urlparse.urlparse(uri).path
|
||||
(scheme, netloc, path, params, query, fragment) = urlparse.urlparse(uri)
|
||||
|
||||
# FIXME: would be better to check for format.onDisk
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user