Fixed formatting

This commit is contained in:
dvanaken 2019-11-26 08:27:33 -05:00 committed by Dana Van Aken
parent 9994a22f16
commit e80639c859
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ class Command(BaseCommand):
def handle(self, *args, **options):
directory = options['directory'] or ''
path = os.path.join(directory, filename)
path = os.path.join(directory, options['filename'])
try:
with open(path, 'r') as f:

View File

@ -198,7 +198,7 @@ class SessionKnobManager(models.Manager):
@staticmethod
def get_knob_min_max_tunability(session, tunable_only=False):
# Returns a dict of the knob
filter_args=dict(session=session)
filter_args = dict(session=session)
if tunable_only:
filter_args['tunable'] = True
session_knobs = SessionKnob.objects.filter(**filter_args).values(