Use relative imports
This commit is contained in:
parent
52b1a8a3bd
commit
6aca2934ac
2 changed files with 5 additions and 6 deletions
|
@ -3,10 +3,9 @@ from base64 import b64decode
|
||||||
|
|
||||||
import json
|
import json
|
||||||
|
|
||||||
from classes.exceptions import AdonisAuthenticationDeniedError, AdonisError
|
from .exceptions import AdonisAuthenticationDeniedError, AdonisError
|
||||||
from classes.crew import Crew
|
from .crew import Crew
|
||||||
|
from ..const import USER_AGENT
|
||||||
from const import USER_AGENT
|
|
||||||
|
|
||||||
from PIL.Image import Image
|
from PIL.Image import Image
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
from argparse import ArgumentParser
|
from argparse import ArgumentParser
|
||||||
from json import dumps
|
from json import dumps
|
||||||
|
|
||||||
from classes.config import Config
|
from .classes.config import Config
|
||||||
from classes.adonis import Adonis
|
from .classes.adonis import Adonis
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in a new issue