Commit 6a1df214 authored by Chris Hines's avatar Chris Hines
Browse files

work without singularity

parent e91c0d09
......@@ -125,8 +125,13 @@ def parse_expiry(expiry):
def make_link(args):
### TODO ###
### Get these from the config ###
singularity = config['singularity']
img = config['img']
try:
singularity = config['singularity']
img = config['img']
except KeyError as e:
singularity=None
img=None
if not ca_setup():
initialise_ca()
import appdirs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment