From 3f7a7d09dd5fd6c7c31fce93780e4887987dbf98 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 7 Oct 2021 18:02:56 -0400 Subject: [PATCH] Correct mistake in referencing option string --- confluent_server/confluent/syncfiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/syncfiles.py b/confluent_server/confluent/syncfiles.py index 5037ea30..b2f5fb63 100644 --- a/confluent_server/confluent/syncfiles.py +++ b/confluent_server/confluent/syncfiles.py @@ -90,7 +90,7 @@ class SyncList(object): if optparts[0][0] != '(' or optparts[-1][-1] != ')': raise Exception("Unsupported syntax in syncfile: " + ent) opts = ','.join(optparts) - opts = [1:-1] + opts = opts[1:-1] for opt in opts.split(','): optname, optval = opt.split('=') entopts[optname] = optval