提交 616b9dd5 编写于 作者: B barrierye

remove useless code

上级 0bb4f614
...@@ -352,7 +352,7 @@ class GeneralMonitor(Monitor): ...@@ -352,7 +352,7 @@ class GeneralMonitor(Monitor):
cmd = 'wget -nH -r -P {} {} &>/dev/null'.format( cmd = 'wget -nH -r -P {} {} &>/dev/null'.format(
os.path.join(local_tmp_path, dirname), url) os.path.join(local_tmp_path, dirname), url)
else: else:
# the remote file is a package file # the remote file is a packed model file
cmd = 'wget -nd -N -P {} {} &>/dev/null'.format(local_tmp_path, url) cmd = 'wget -nd -N -P {} {} &>/dev/null'.format(local_tmp_path, url)
_LOGGER.debug('wget cmd: {}'.format(cmd)) _LOGGER.debug('wget cmd: {}'.format(cmd))
if os.system(cmd) != 0: if os.system(cmd) != 0:
......
...@@ -352,7 +352,7 @@ class GeneralMonitor(Monitor): ...@@ -352,7 +352,7 @@ class GeneralMonitor(Monitor):
cmd = 'wget -nH -r -P {} {} &>/dev/null'.format( cmd = 'wget -nH -r -P {} {} &>/dev/null'.format(
os.path.join(local_tmp_path, dirname), url) os.path.join(local_tmp_path, dirname), url)
else: else:
# the remote file is a package file # the remote file is a packed model file
cmd = 'wget -nd -N -P {} {} &>/dev/null'.format(local_tmp_path, url) cmd = 'wget -nd -N -P {} {} &>/dev/null'.format(local_tmp_path, url)
_LOGGER.debug('wget cmd: {}'.format(cmd)) _LOGGER.debug('wget cmd: {}'.format(cmd))
if os.system(cmd) != 0: if os.system(cmd) != 0:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册