Browse Source

update import packages quote pacjage (#93)

master
Gerry Nelson 4 years ago
committed by GitHub
parent
commit
2549792ec7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      .gitignore
  2. BIN
      __pycache__/sharedfunctions.cpython-36.pyc
  3. 2
      importpackages.py

3
.gitignore

@ -0,0 +1,3 @@
__pycache__/sharedfunctions.cpython-36.pyc
sharedfunctions.pyc
__pycache__/sharedfunctions.cpython-36.pyc

BIN
__pycache__/sharedfunctions.cpython-36.pyc

Binary file not shown.

2
importpackages.py

@ -67,7 +67,7 @@ if areyousure.upper() =='Y':
if filename.lower().endswith('.json'):
#upload the json package
command=clicommand+' transfer upload --file '+os.path.join(basedir,filename)+'> /tmp/packageid.json'
command=clicommand+' transfer upload --file "'+os.path.join(basedir,filename)+'" > /tmp/packageid.json'
print(command)
subprocess.call(command, shell=True)

Loading…
Cancel
Save