diff --git a/tagserver_MySQL.py b/tagserver_MySQL.py index cf4fe5f..f99bba9 100644 --- a/tagserver_MySQL.py +++ b/tagserver_MySQL.py @@ -8,11 +8,11 @@ Created on April 7, 2016 ''' import mysql.connector as mysqlcon import pickle -from tag_mysql import Tag +from tag.tag_mysql import Tag import traceback import time -with open('/root/tag-server/python/mysql_cfg.pickle', 'rb') as pickleconfig: +with open('/root/tag-server/mysql_cfg.pickle', 'rb') as pickleconfig: mysql_cfg = pickle.load(pickleconfig) if mysql_cfg: diff --git a/tagserver_SQLite.py b/tagserver_SQLite.py index 80d0e3d..d9ace51 100644 --- a/tagserver_SQLite.py +++ b/tagserver_SQLite.py @@ -8,7 +8,7 @@ Created on Dec 8, 2015 import time import sqlite3 as lite -from tag_sqlite import Tag +from tag.tag_sqlite import Tag import traceback # con = lite.connect("/usr/db/data.db")