summaryrefslogtreecommitdiff
path: root/rtemstoolkit/mailer.py
diff options
context:
space:
mode:
Diffstat (limited to 'rtemstoolkit/mailer.py')
-rw-r--r--rtemstoolkit/mailer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtemstoolkit/mailer.py b/rtemstoolkit/mailer.py
index ee4d3a4..241ee1c 100644
--- a/rtemstoolkit/mailer.py
+++ b/rtemstoolkit/mailer.py
@@ -63,7 +63,7 @@ class mail:
self.opts = opts
def _args_are_macros(self):
- return type(self.opts) is 'command_line'
+ return isinstance(self.opts, options.command_line)
def _get_arg(self, arg):
if self._args_are_macros():