Browse Source

bug fix: mongodb read

Steve Nyemba 2 years ago
parent
commit
98c9348f9c
3 changed files with 3 additions and 3 deletions
  1. 1 1
      README.md
  2. 1 1
      setup.py
  3. 1 1
      transport/mongo.py

+ 1 - 1
README.md

@@ -34,7 +34,7 @@ Mostly data scientists that don't really care about the underlying database and
 
 Within the virtual environment perform the following :
 
-    pip install git+https://dev.the-phi.com/git/steve/data-transport.git
+    pip install git+https://github.com/lnyemba/data-transport.git
 
 Once installed **data-transport** can be used as a library in code or a command line interface (CLI), as a CLI it is used for ETL and requires a configuration file.
 

+ 1 - 1
setup.py

@@ -8,7 +8,7 @@ def read(fname):
     return open(os.path.join(os.path.dirname(__file__), fname)).read() 
 args    = {
     "name":"data-transport",
-    "version":"1.6.2",
+    "version":"1.6.3",
     "author":"The Phi Technology LLC","author_email":"info@the-phi.com",
     "license":"MIT",
     "packages":["transport"]}

+ 1 - 1
transport/mongo.py

@@ -92,7 +92,7 @@ class MongoReader(Mongo,Reader):
         Mongo.__init__(self,**args)
     def read(self,**args):
         
-        if 'mongo' in args or 'cmd' :
+        if 'mongo' in args or 'cmd' in args:
             #
             # @TODO:
             cmd = args['mongo'] if 'mongo' in args else args['cmd']