Commit 5c48c39e authored by Jameson Rollins's avatar Jameson Rollins

bypass use of termcolor if not present

parent a45426e0
Pipeline #46959 passed with stages
in 1 minute and 48 seconds
...@@ -5,7 +5,11 @@ import logging ...@@ -5,7 +5,11 @@ import logging
import argparse import argparse
import functools import functools
import subprocess import subprocess
from termcolor import cprint try:
from termcolor import cprint
except ImportError:
def cprint(*args):
print(args[0])
from datetime import timedelta from datetime import timedelta
from gpstime import gpstime, GPSTimeException from gpstime import gpstime, GPSTimeException
from dateutil.tz import tzutc, tzlocal from dateutil.tz import tzutc, tzlocal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment