diff --git a/GitLink.py b/GitLink.py index 8ec5b68..638947b 100644 --- a/GitLink.py +++ b/GitLink.py @@ -104,7 +104,7 @@ def run(self, edit, **args): git_rev = self.getoutput("git rev-parse HEAD") # Choose the view type we'll use - if('blame' in args && args['blame']): + if('blame' in args and args['blame']): view_type = 'blame_url' else: view_type = 'url'