fixed windows paths, thanks Niphlod

This commit is contained in:
mdipierro
2013-08-26 06:05:25 -05:00
parent c5fa97cb2b
commit 6b5c8aab83
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.6.0-development+timestamp.2013.08.25.21.22.25
Version 2.6.0-development+timestamp.2013.08.26.06.04.21
+2 -2
View File
@@ -151,7 +151,7 @@ def presentation(root):
canvas.pack()
root.update()
logo = 'extras/icons/splashlogo.gif'
logo = os.path.join('extras','icons','splashlogo.gif')
if os.path.exists(logo):
img = Tkinter.PhotoImage(file=logo)
pnl = Tkinter.Label(canvas, image=img, background='white', bd=0)
@@ -199,7 +199,7 @@ class web2pyDialog(object):
self.menu = Tkinter.Menu(self.root)
servermenu = Tkinter.Menu(self.menu, tearoff=0)
httplog = os.path.join(self.options.folder, 'httpserver.log')
iconphoto = 'extras/icons/web2py.gif'
iconphoto = os.path.join('extras','icons','web2py.gif')
if os.path.exists(iconphoto):
img = Tkinter.PhotoImage(file=iconphoto)
self.root.tk.call('wm', 'iconphoto', self.root._w, img)