Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hpc-team
sshshare
Commits
2c7cb14b
Commit
2c7cb14b
authored
Feb 09, 2018
by
Chris Hines
Browse files
save the config data correctly
parent
4694fa73
Changes
1
Hide whitespace changes
Inline
Side-by-side
sshshare/__main__.py
View file @
2c7cb14b
...
...
@@ -262,9 +262,9 @@ def main():
configdata
[
'img'
]
=
'sftp_img.img'
configdata
[
'secretserver'
]
=
'https://cw-vm-d034.sa.nectar.org.au/sshshare/share/'
configdata
[
'proxyserver'
]
=
'https://cw-vm-d034.sa.nectar.org.au/download/retrieve'
config
.
update
(
configdata
)
with
open
(
configpath
,
'w'
)
as
f
:
f
.
write
(
yaml
.
dump
(
config
))
config
.
update
(
configdata
)
parser
=
argparse
.
ArgumentParser
()
subparser
=
parser
.
add_subparsers
()
...
...
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