Skip to content

Commit

Permalink
fix html interpreter so that we can treat it like a subprocess code i…
Browse files Browse the repository at this point in the history
…nterpreter, though it isnt. this is for simplicity.
  • Loading branch information
unaidedelf8777 committed Oct 21, 2023
1 parent 8884506 commit 2af31a9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions interpreter/code_interpreters/languages/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ class HTML(BaseCodeInterpreter):
file_extension = "html"
proper_name = "HTML"

def __init__(self, **kwargs):
super().__init__(**kwargs) # include kwargs though they dont do anything in this case.
# This is just so we dont need more logic in the create interpreter function
def __init__(self, **kwargs): ## accept the kwargs though we dont use them, since its easier this way.
super().__init__()

def run(self, code):
# Create a temporary HTML file with the content
Expand Down

0 comments on commit 2af31a9

Please sign in to comment.