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://'):
|
if not uri.startswith('file://'):
|
||||||
return
|
return
|
||||||
|
|
||||||
path = urlparse.urlparse(uri).path
|
(scheme, netloc, path, params, query, fragment) = urlparse.urlparse(uri)
|
||||||
|
|
||||||
# FIXME: would be better to check for format.onDisk
|
# FIXME: would be better to check for format.onDisk
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user