Commit d29edc86 authored by jay's avatar jay
Browse files

Loads config and fixes bad errant change

parent 24330704
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -515,7 +515,7 @@ class NetworkNode(Node):

            # Create the keypoints entry
            kps = Keypoints(path=kpspath, nkeypoints=0)
            cam = create_camera()
            cam = self.create_camera()
            try:
                fp = self.footprint
            except:
+8 −0
Original line number Diff line number Diff line
@@ -11,6 +11,14 @@ import yaml
from autocnet.io.db import connection
from autocnet.io.db.redis_queue import pop_computetime_push, finalize

#Load the config file
try:
    with open(os.environ['autocnet_config'], 'r') as f:
        config = yaml.load(f)
except:
    print("The 'autocnet_config' environment variable is not set.")
    sys.exit()

def main():
    print('hello')