Relative imports use now dots
This commit is contained in:
parent
af37852f58
commit
81fba8546e
@ -9,11 +9,11 @@ import sys
|
|||||||
from davtelepot.bot import Bot
|
from davtelepot.bot import Bot
|
||||||
|
|
||||||
# Project modules
|
# Project modules
|
||||||
import bot_tools
|
from . import bot_tools
|
||||||
import ciclopi
|
from . import ciclopi
|
||||||
from data.passwords import bot_token
|
from . import helper
|
||||||
import helper
|
from . import roles
|
||||||
import roles
|
from .data.passwords import bot_token
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
path = os.path.dirname(__file__)
|
path = os.path.dirname(__file__)
|
||||||
|
@ -7,7 +7,7 @@ from davtelepot.utilities import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Project modules
|
# Project modules
|
||||||
import roles
|
from . import roles
|
||||||
|
|
||||||
DENY_MESSAGE = (
|
DENY_MESSAGE = (
|
||||||
"Chiedi di essere autorizzato: se la tua richiesta verrà accolta, "
|
"Chiedi di essere autorizzato: se la tua richiesta verrà accolta, "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user