Include some forgotten module in reload process
This commit is contained in:
parent
8b4f08c5bd
commit
c6aa38147b
5 changed files with 29 additions and 0 deletions
|
|
@ -16,3 +16,16 @@
|
|||
|
||||
from nemubot.datastore.abstract import Abstract
|
||||
from nemubot.datastore.xml import XML
|
||||
|
||||
|
||||
def reload():
|
||||
global Abstract, XML
|
||||
import imp
|
||||
|
||||
import nemubot.datastore.abstract
|
||||
imp.reload(nemubot.datastore.abstract)
|
||||
Abstract = nemubot.datastore.abstract.Abstract
|
||||
|
||||
import nemubot.datastore.xml
|
||||
imp.reload(nemubot.datastore.xml)
|
||||
XML = nemubot.datastore.xml.XML
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue