Skip to content

Commit 4cc5fc4

Browse files
authored
Merge pull request #86 from njzjz/typo
fix typo
2 parents aa803e2 + 9256896 commit 4cc5fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpdata/system.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def to(self, fmt, *args, **kwargs):
143143
kwargs = {kk: kwargs[kk] for kk in kwargs if kk in func_args}
144144
func(self, *args, **kwargs)
145145
else :
146-
raise RuntimeError('unknow data format %s. Accepted format:' % (fmt, " ".join(to_funcs)))
146+
raise RuntimeError('unknow data format %s. Accepted format: %s' % (fmt, " ".join(to_funcs)))
147147

148148
def __repr__(self):
149149
return self.__str__()

0 commit comments

Comments
 (0)