Skip to content

Commit

Permalink
Fix #21
Browse files Browse the repository at this point in the history
  • Loading branch information
cartertemm committed May 24, 2024
1 parent 0c9c5ca commit a993b12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addon/globalPlugins/indent_nav/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2001,7 +2001,8 @@ def isVscodeApp(self):
return False
except NameError:
return False
return self.appModule.productName.startswith("Visual Studio Code")
productName = self.appModule.productName or ""
return productName.startswith("Visual Studio Code")

def getPiper(self):
try:
Expand Down

0 comments on commit a993b12

Please sign in to comment.