diff options
Diffstat (limited to 'catalyst/base/genbase.py')
-rw-r--r-- | catalyst/base/genbase.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/catalyst/base/genbase.py b/catalyst/base/genbase.py index 52418877..4a4c3efa 100644 --- a/catalyst/base/genbase.py +++ b/catalyst/base/genbase.py @@ -25,10 +25,10 @@ class GenBase(): filename = os.path.split(filepath)[1] - if self.settings['digest_format'] == 'bsd': - return f'# {name.upper()} HASH\n{name.upper()} ({filename}) = {h.hexdigest()}\n' - else: - return f'# {name.upper()} HASH\n{h.hexdigest()} {filename}\n' + if self.settings['digest_format'] == 'bsd': + return f'# {name.upper()} HASH\n{name.upper()} ({filename}) = {h.hexdigest()}\n' + else: + return f'# {name.upper()} HASH\n{h.hexdigest()} {filename}\n' def gen_contents_file(self, path): c = self.settings['contents_map'] |