Skip to content

Commit 44c5c95

Browse files
committedJun 10, 2021
fix: add goethe prefix to package imports
1 parent 041a80a commit 44c5c95

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎goethe/__main__.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import sys
22
import argparse
3-
from Editor import Editor
4-
from Interpreter import Interpreter
3+
4+
from goethe.Editor import Editor
5+
from goethe.Interpreter import Interpreter
56

67

78
class Parser(argparse.ArgumentParser):
@@ -20,7 +21,7 @@ def error(self, message):
2021

2122
output_group = parser.add_mutually_exclusive_group(required=True)
2223
output_group.add_argument("-i", "--input", action="store", help="Input file (.goethe)")
23-
output_group.add_argument("-e", "--editor", action="store_true", help="Open editor")
24+
output_group.add_argument("-e", "--editor", action="store_true", help="Open the editor")
2425

2526
def main():
2627
args = parser.parse_args()

0 commit comments

Comments
 (0)