Delete unused check (forget from previous local version)

This commit is contained in:
ErgoZ Riftbit Vaper 2015-09-08 21:13:11 +03:00
parent 6237bb636c
commit 8a074fd719

View file

@ -67,7 +67,7 @@ class InputFile(object):
if isinstance(self.input_file, file): if isinstance(self.input_file, file):
self.input_file_content = self.input_file.read() self.input_file_content = self.input_file.read()
if 'filename' in self.data and self.data['filename']: if 'filename' in self.data:
self.filename = self.data['filename'] self.filename = self.data['filename']
else: else:
self.filename = os.path.basename(self.input_file.name) self.filename = os.path.basename(self.input_file.name)