Skip to content

Commit

Permalink
Update tags.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddhesh-Agarwal authored Jun 20, 2021
1 parent ee93b74 commit be5fe1c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sierra/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def closeTagBefore(tag_to_close, tag_to_close_before):
now_closed = f.replace(tag_to_close_before, closed_tag)
with open("index.html", 'w') as f:
f.write(f'''{now_closed}''')


# x = tags()
# x.openTags('tag3', 'tag1', 'tag2')
Expand All @@ -40,7 +39,9 @@ def openBody(background='False', background_color='white', background_image=Fals

open("index.html", 'a').write(f'''\n<body>''')
with open('style.css', 'a') as s:
s.write(f'''\nbody {{
s.write(f'''
body {{
background: {background};
background-color: {background_color};
background-image: {background_image};
opacity: {opacity};
Expand Down

0 comments on commit be5fe1c

Please sign in to comment.