update path for close file name on windows

This commit is contained in:
Jimmy Kiselak 2016-01-27 02:55:45 -05:00
parent 0840ac7d06
commit 05189651ee

View file

@ -33,8 +33,7 @@ class StreamFrame(object):
close_file_name = "close2.gif"
if os.name == "nt":
close_file = os.path.join(os.path.dirname(os.path.abspath(sys.argv[0])), "lbrynet",
"lbrynet_downloader_gui", close_file_name)
close_file = os.path.join(os.path.dirname(os.path.abspath(sys.argv[0])), close_file_name)
else:
close_file = os.path.join(os.path.dirname(__file__), close_file_name)