Skip to content

Commit 39ae45b

Browse files
committed
fixup enum to string conversion
1 parent a23057b commit 39ae45b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotter/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,14 +221,14 @@ def compute_topic_operations(link_items: List[PosixPath], link_config: ConfigPat
221221
seen_prefixes.add(str(src_path))
222222

223223
topic_ops.append(LogicalSyncPlan(
224-
type=op_type_switch,
224+
type=str(op_type_switch),
225225
src_path=src_path,
226226
dst_path=dst_path,
227227
))
228228
else:
229229
# Simple case, link item is directly linked, copied or touched.
230230
topic_ops.append(LogicalSyncPlan(
231-
type=op_type,
231+
type=str(op_type),
232232
src_path=src_path,
233233
dst_path=dst_path,
234234
))

0 commit comments

Comments
 (0)