Skip to content

Commit

Permalink
Undo change - still return "" for window title for invalid pid
Browse files Browse the repository at this point in the history
  • Loading branch information
ulodha committed Sep 2, 2018
1 parent c88bd7f commit 8f6ae58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lackey/App.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def getWindow(self):
return ""
return PlatformManager.getWindowTitle(PlatformManager.getWindowByPID(self.getPID()))
else:
return None
return ""
def getName(self):
""" Returns the short name of the app as shown in the process list """
return PlatformManager.getProcessName(self.getPID())
Expand Down

0 comments on commit 8f6ae58

Please sign in to comment.