From f4feb5a9326978f490ccea2f5a324bb6e03cd71d Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Wed, 22 May 2013 22:21:48 +0000 Subject: fix error introduced in pep8 cleanup --- (limited to 'pysamples/grecord.py') diff --git a/pysamples/grecord.py b/pysamples/grecord.py index 35c7418..a28b82c 100644 --- a/pysamples/grecord.py +++ b/pysamples/grecord.py @@ -204,7 +204,7 @@ def myblock(tw, arg): # Sometime we need to parse multiple arguments, e.g., save, savename save_name = '%s_%s' % (tw.activity.name, _('sound')) - if isinstance(arg) == list: + if isinstance(arg, list): cmd = arg[0].lower() if len(arg) > 1: save_name = str(arg[1]) -- cgit v0.9.1