Skip to content

Commit

Permalink
Fixed interpreter not found error
Browse files Browse the repository at this point in the history
  • Loading branch information
Sas2k committed Aug 5, 2022
1 parent 58e51e8 commit c2b0d85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion NumberScript/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from interpreter import Interpreter
from . import interpreter
import argparse
import os
from datetime import datetime
Expand All @@ -7,6 +7,8 @@

current_time = now.strftime("%H:%M:%S")

Interpreter = interpreter.Interpreter

parser = argparse.ArgumentParser()

parser.add_argument("-f", "--file", help="file to interpret")
Expand Down

0 comments on commit c2b0d85

Please sign in to comment.