Skip to content

Commit

Permalink
safe for win
Browse files Browse the repository at this point in the history
  • Loading branch information
amoh-godwin committed Feb 22, 2020
1 parent a522396 commit 17d7e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self):
# user local qmlview
if platform.system() == 'Windows':
cwd = os.path.dirname(sys.argv[0])
self.qmlview = os.path.join(cwd, 'qmlview.exe')
self.qmlview = '"' + os.path.join(cwd, 'qmlview.exe') + '"'
else:
self.qmlview = './qmlview'

Expand Down

0 comments on commit 17d7e78

Please sign in to comment.