2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00

Fix python3 problem with confetty

Under python3, there is no unicode.
This commit is contained in:
Jarrod Johnson 2020-01-31 08:53:42 -05:00
parent a24866c2df
commit 7a63ca8759

View File

@ -76,6 +76,11 @@ import confluent.termhandler as termhandler
import confluent.tlvdata as tlvdata
import confluent.client as client
try:
unicode
except NameError:
unicode = str
conserversequence = '\x05c' # ctrl-e, c
clearpowermessage = False