Skip to content

Commit

Permalink
Remove import of labelme in on_docker.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Mar 23, 2019
1 parent 1c2a5eb commit 8435d75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions labelme/cli/on_docker.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env python

from __future__ import print_function

import argparse
import distutils.spawn
import json
Expand All @@ -10,8 +12,6 @@
import subprocess
import sys

from labelme.logger import logger


def get_ip():
dist = platform.platform().split('-')[0]
Expand Down Expand Up @@ -84,7 +84,7 @@ def main():
args = parser.parse_args()

if not distutils.spawn.find_executable('docker'):
logger.error('Please install docker.')
print('Please install docker', file=sys.stderr)
sys.exit(1)

try:
Expand Down

0 comments on commit 8435d75

Please sign in to comment.