mirror of
https://github.com/xcat2/confluent.git
synced 2026-09-28 16:20:54 +00:00
Change to str for getting string of shlex
ve.message was deprecated, but str is current.
This commit is contained in:
@@ -238,7 +238,7 @@ def parse_command(command):
|
||||
try:
|
||||
args = shlex.split(command, posix=True)
|
||||
except ValueError as ve:
|
||||
print('Error: ' + ve.message)
|
||||
print('Error: ' + str(ve))
|
||||
return []
|
||||
return args
|
||||
|
||||
|
||||
Reference in New Issue
Block a user