fix for paths with spaces
This commit is contained in:
parent
4cd7ade277
commit
dc2ea3a220
@ -127,7 +127,8 @@ def get_logo(size):
|
|||||||
|
|
||||||
def open_file(path):
|
def open_file(path):
|
||||||
"""Opens a file or folder."""
|
"""Opens a file or folder."""
|
||||||
os.popen("xdg-open %s" % path)
|
print path
|
||||||
|
os.popen("xdg-open \"%s\"" % path)
|
||||||
|
|
||||||
def open_url_in_browser(url):
|
def open_url_in_browser(url):
|
||||||
"""Opens link in the desktop's default browser"""
|
"""Opens link in the desktop's default browser"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user