From cb6f1388593d561c862e7e3341af0643cac12e33 Mon Sep 17 00:00:00 2001 From: Patrick McDonagh Date: Fri, 15 Apr 2016 18:06:50 -0500 Subject: [PATCH] Updated to work with tag submodule --- tagserver_MySQL.py | 4 ++-- tagserver_SQLite.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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")