Use ansiwrap if available.

This commit is contained in:
Solderpunk 2020-05-10 15:02:24 +02:00
parent 28cf34e585
commit b272a563cb
1 changed files with 5 additions and 1 deletions

View File

@ -24,13 +24,17 @@ import socket
import subprocess
import sys
import tempfile
import textwrap
import urllib.parse
import ssl
import sys
import time
import webbrowser
try:
import ansiwrap as textwrap
except ModuleNotFoundError:
import textwrap
_VERSION = "0.0.1"
_MAX_REDIRECTS = 5