From e4ec850b60ff33a13716e816f5ad3e612c5b59cd Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Sat, 22 Jun 2019 18:06:16 -0500 Subject: [PATCH] correctly import add in blockmetadb --- onionr/core.py | 2 +- onionr/coredb/blockmetadb/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/onionr/core.py b/onionr/core.py index 1a0a465d..5ab70e7d 100755 --- a/onionr/core.py +++ b/onionr/core.py @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . ''' -import sqlite3, os, sys, time, json, uuid +import os, sys, time, json, uuid import logger, netcontroller, config from onionrblockapi import Block import coredb diff --git a/onionr/coredb/blockmetadb/__init__.py b/onionr/coredb/blockmetadb/__init__.py index fd408d35..9aa991a5 100644 --- a/onionr/coredb/blockmetadb/__init__.py +++ b/onionr/coredb/blockmetadb/__init__.py @@ -1,5 +1,5 @@ import sqlite3 -from . import expiredblocks, updateblockinfo +from . import expiredblocks, updateblockinfo, add def get_block_list(core_inst, dateRec = None, unsaved = False): ''' Get list of our blocks