Fixed reworking of templates

This commit is contained in:
TrustedSec 2014-06-04 23:21:25 -04:00
parent 8ac6cbdaad
commit 74e3854483

View file

@ -50,14 +50,14 @@ if choice == "3":
URL="http://www.facebook.com"
# if twitter
if choice == "5":
if choice == "4":
if os.path.isfile("src/html/index.template"):
os.remove("src/html/index.template")
shutil.copyfile("src/html/templates/twitter/index.template", "src/html/index.template")
URL="http://www.twitter.com"
# if yahoo
if choice =="6":
if choice =="5":
if os.path.isfile("src/html/index.template"): os.remove("src/html/index.template")
shutil.copyfile("src/html/templates/yahoo/index.template", "src/html/index.template")
URL="http://mail.yahoo.com"