Skip to content

Commit

Permalink
[BugFix] Fix for Yacoby#11 in class ModDetails
Browse files Browse the repository at this point in the history
I hope ;)
  • Loading branch information
Sharlikran committed Oct 28, 2017
1 parent 09d968a commit 549e92f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Mopy/mash/masher.py
Original file line number Diff line number Diff line change
Expand Up @@ -1378,10 +1378,10 @@ def SetFile(self, fileName='SAME'):
modInfo = self.modInfo = mosh.modInfos[fileName]
# --Remember values for edit checks
self.fileStr = modInfo.name
self.authorStr = modInfo.tes3.hedr.author
self.authorStr = decode(modInfo.tes3.hedr.author)
self.modifiedStr = formatDate(modInfo.mtime)
self.descriptionStr = modInfo.tes3.hedr.description
self.versionStr = u'v%0.1f' % (modInfo.tes3.hedr.version,)
self.descriptionStr = decode(modInfo.tes3.hedr.description)
self.versionStr = u'v{:0.1f}'.format(modInfo.tes3.hedr.version)
# --Set fields
self.file.SetValue(self.fileStr)
self.author.SetValue(self.authorStr)
Expand Down

0 comments on commit 549e92f

Please sign in to comment.