Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Andrew Perry
sshshare
Commits
6a1df214
Commit
6a1df214
authored
Feb 09, 2018
by
Chris Hines
Browse files
work without singularity
parent
e91c0d09
Changes
1
Hide whitespace changes
Inline
Side-by-side
sshshare/__main__.py
View file @
6a1df214
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment