mirror of
https://github.com/wassname/sloth.git
synced 2026-07-13 17:45:34 +08:00
dump yaml somewhat correctly
This commit is contained in:
@@ -154,7 +154,7 @@ class YAMLContainer(AnnotationContainer):
|
||||
|
||||
def save(self, fname):
|
||||
f = open(fname, "w")
|
||||
yaml.dump(self.annotations(), f, indent=4)
|
||||
yaml.dump(self.annotations(), f)
|
||||
self.filename_ = fname
|
||||
|
||||
class FeretContainer(AnnotationContainer):
|
||||
|
||||
Reference in New Issue
Block a user