fix manage.py importing from the wrong path

This commit is contained in:
justcool393 2023-04-02 00:58:53 -05:00 committed by Ben Rog-Wilhelm
parent 39ce6a4ee9
commit f81dd4b7a2
3 changed files with 8 additions and 12 deletions

View file

@ -3,11 +3,10 @@
import sys
from common import error, run_help
from command import run_command
from test import run_test
if __name__=='__main__':
from .command import run_command
from .test import run_test
if __name__ == '__main__':
if len(sys.argv) < 2:
error("Usage: './manage.py <command> [options]'")
@ -21,4 +20,4 @@ if __name__=='__main__':
elif name == "help":
run_help()
else:
error("Not a command")
error("Not a command")