Added setup attribute to EjabberdAPI library. Related to #3
This commit is contained in:
pare
b819f73fb6
commit
c9c880949f
S'han modificat 1 arxius amb 2 adicions i 4 eliminacions
6
xmpp.py
6
xmpp.py
|
@ -1,5 +1,5 @@
|
|||
from akkomabot import Akkomabot
|
||||
from ejabberdapi import Ejabberd
|
||||
from ejabberdapi import Ejabberd, EjabberdAPIConfigError
|
||||
from akkoma import AkkomaNetworkError
|
||||
import sys
|
||||
|
||||
|
@ -9,9 +9,7 @@ if __name__ == '__main__':
|
|||
|
||||
bot = Akkomabot()
|
||||
|
||||
ejabberd_secrets_file = 'secrets/ejabberd_secrets.txt'
|
||||
|
||||
ejabberd = Ejabberd(ejabberd_secrets_file)
|
||||
ejabberd = Ejabberd()
|
||||
|
||||
try:
|
||||
|
||||
|
|
Loading…
Referencia en una nova incidència