Commits

Jason R. Coombs  committed 8d68fcb

Can't open in binary mode anymore (Python 3 requires writing yaml as text)

  • Participants
  • Parent commits 29d4fcd

Comments (0)

Files changed (1)

File pmxbot/dictlib.py

 			return cls(yaml.load(f))
 
 	def to_yaml(self, filename):
-		with open(filename, 'wb') as f:
+		with open(filename, 'w') as f:
 			yaml.dump(self, f)