Merge pull request #2997 from jplochocki/patch-1

Update cut.py
This commit is contained in:
Maximilian Hils 2018-03-18 16:48:50 +01:00 committed by GitHub
commit 3c7725a8ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,7 @@ class Cut:
if isinstance(v, bytes):
fp.write(strutils.always_str(v))
else:
fp.write("utf8")
fp.write(v)
ctx.log.alert("Clipped single cut.")
else:
writer = csv.writer(fp)