Move files to a module

This commit is contained in:
Sijmen Schoon 2016-11-16 13:50:13 +01:00
parent 3324257e35
commit 6ef0a343c8
3 changed files with 5 additions and 1 deletions

4
telematrix.py Normal file
View File

@ -0,0 +1,4 @@
import telematrix
if __name__ == '__main__':
telematrix.main()

View File

@ -16,7 +16,7 @@ from aiohttp import web, ClientSession
from aiotg import Bot from aiotg import Bot
from bs4 import BeautifulSoup from bs4 import BeautifulSoup
import database as db import telematrix.database as db
# Read the configuration file # Read the configuration file
try: try: