Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pysamples/grecord.py
diff options
context:
space:
mode:
Diffstat (limited to 'pysamples/grecord.py')
-rw-r--r--pysamples/grecord.py2
1 files changed, 1 insertions, 1 deletions
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])