summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xunperish4
1 files changed, 2 insertions, 2 deletions
diff --git a/unperish b/unperish
index eb32618..1148585 100755
--- a/unperish
+++ b/unperish
@@ -93,8 +93,8 @@ class Unperish(cliapp.Application):
except IOError:
pass
- if subcommand in self._subcommands:
- method = self._subcommands[subcommand]
+ if subcommand in self.subcommands:
+ method = self.subcommands[subcommand]
if self.settings['verbose']:
self.output.write('command: %s\n' % subcommand)
if not self.settings['no-act']: