2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 03:19:48 +00:00

Fix typo in confetty

Strings do not have a startswitch method...
This commit is contained in:
Jarrod Johnson 2017-08-16 15:06:48 -04:00
parent f3b56cf187
commit 9ff7829373

View File

@ -460,7 +460,7 @@ def createresource(args):
if keydata is None:
return
targpath = fullpath_target(resname)
if targpath.startswitch('/noderange//'):
if targpath.startswith('/noderange//'):
collection = targpath
else:
collection, _, resname = targpath.rpartition('/')