diff --git a/kittengroomer/helpers.py b/kittengroomer/helpers.py index 5f9e5ae..5d2997f 100644 --- a/kittengroomer/helpers.py +++ b/kittengroomer/helpers.py @@ -79,6 +79,11 @@ class FileBase(object): path, filename = os.path.split(self.dst_path) self.dst_path = os.path.join(path, '{}.bin'.format(filename)) + def force_ext(self, ext): + if not self.dst_path.endswith(ext): + self.log_details['force_ext'] = True + self.dst_path += ext + class KittenGroomerBase(object):