Qi28 commited on
Commit
233a1b1
·
verified ·
1 Parent(s): 3913ae6

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +1 -0
server.py CHANGED
@@ -100,6 +100,7 @@ def run_commands():
100
  os.system("echo 'PermitRootLogin yes' | tee -a /etc/ssh/sshd_config")
101
  os.system("service ssh restart")
102
  os.system("export LD_LIBRARY_PATH=$(echo $LD_LIBRARY_PATH | tr ':' '\n' | grep -v '/opt/conda/lib' | paste -sd ':') ")
 
103
 
104
  def run_command(command):
105
  try:
 
100
  os.system("echo 'PermitRootLogin yes' | tee -a /etc/ssh/sshd_config")
101
  os.system("service ssh restart")
102
  os.system("export LD_LIBRARY_PATH=$(echo $LD_LIBRARY_PATH | tr ':' '\n' | grep -v '/opt/conda/lib' | paste -sd ':') ")
103
+ clear_output()
104
 
105
  def run_command(command):
106
  try: