Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.

Commit

Permalink
Fixed issue where app wouldn't start
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasbenb committed Mar 19, 2020
1 parent b58a820 commit 5ad855c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.py → app.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
from tpb import tpb
import os, webbrowser

path = '%s\\eliasbenb' % os.environ['APPDATA']
path = '%s\\eliasbenb' % os.environ['APPDATA']
os.mkdir(path)
with open(path+'\\icon.ico','wb') as m1:
m1.write(icon_image_bytes)
with open(path+'\\website.png','wb') as m2:
Expand Down Expand Up @@ -46,4 +47,4 @@ def github_open():
app.iconbitmap(path+'\\icon.ico')
app.geometry('450x200')

app.mainloop()
app.mainloop()

0 comments on commit 5ad855c

Please sign in to comment.