Duplicate code

This commit is contained in:
Thomas Nagy 2016-04-21 22:12:39 +02:00
parent 8520dd65bb
commit d2ba87b296
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ def stealth_write(self, data, flags='wb'):
data = data.decode(sys.getfilesystemencoding(), 'replace')
data = data.encode('utf-8')
if self.name.endswith('.project') or self.name.endswith('.project'):
if self.name.endswith('.project'):
data = BOM + data
try: