Skip to content

Commit

Permalink
Fix push resinfo for app resources
Browse files Browse the repository at this point in the history
The patch introducing is_string() in replacement of type() == str
was bogus, causing the following error on push resinfo:

list index out of range ['Error', 'info not implemented in launcher']
  • Loading branch information
cvaroqui committed Jun 21, 2017
1 parent c3571f8 commit bffeb31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resApp.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def info(self):
return self.fmt_info(keyvals)
self.validate_on_action()
buff = self.run('info', dedicated_log=False, return_out=True)
if is_string(buff) != str or len(buff) == 0:
if not is_string(buff) or len(buff) == 0:
keyvals.append(["Error", "info not implemented in launcher"])
return keyvals
for line in buff.splitlines():
Expand Down

0 comments on commit bffeb31

Please sign in to comment.