diff --git a/nilmdb/cmdline/cmdline.py b/nilmdb/cmdline/cmdline.py index eb2afa0..624aa5a 100644 --- a/nilmdb/cmdline/cmdline.py +++ b/nilmdb/cmdline/cmdline.py @@ -94,12 +94,6 @@ class Cmdline(object): def __init__(self, argv = None): self.argv = argv or sys.argv[1:] - try: - # Assume command line arguments are encoded with stdin's encoding, - # and reverse it. Won't be needed in Python 3, but for now.. - self.argv = [ x.decode(sys.stdin.encoding) for x in self.argv ] - except Exception: # pragma: no cover - pass self.client = None self.def_url = os.environ.get("NILMDB_URL", "http://localhost/nilmdb/") self.subcmd = {}