Relative imports use now dots

This commit is contained in:
Davte 2019-07-19 12:04:13 +02:00
parent af37852f58
commit 81fba8546e
2 changed files with 6 additions and 6 deletions

View File

@ -9,11 +9,11 @@ import sys
from davtelepot.bot import Bot
# Project modules
import bot_tools
import ciclopi
from data.passwords import bot_token
import helper
import roles
from . import bot_tools
from . import ciclopi
from . import helper
from . import roles
from .data.passwords import bot_token
if __name__ == '__main__':
path = os.path.dirname(__file__)

View File

@ -7,7 +7,7 @@ from davtelepot.utilities import (
)
# Project modules
import roles
from . import roles
DENY_MESSAGE = (
"Chiedi di essere autorizzato: se la tua richiesta verrà accolta, "