Commits

Michał Górny  committed ab8a4da

Re-create tokens off flags if modified.

  • Participants
  • Parent commits 0578726

Comments (0)

Files changed (1)

File lib/flaggie/makeconf.py

 
 			@property
 			def data(self):
-				return self.s
+				if self.modified:
+					return ''.join([f.toString() for f in self.flags])
+				else:
+					return self.s
 
 			def toString(self):
 				return self.data