Skip to content

Commit

Permalink
Make it work on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-techson committed Apr 19, 2018
1 parent 2c6600d commit 0f578db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pidcat.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
args.all = True

# Store the names of packages for which to match all processes.
catchall_package = filter(lambda package: package.find(":") == -1, package)
catchall_package = list(filter(lambda package: package.find(":") == -1, package))
# Store the name of processes to match exactly.
named_processes = filter(lambda package: package.find(":") != -1, package)
# Convert default process names from <package>: (cli notation) to <package> (android notation) in the exact names match group.
Expand Down Expand Up @@ -357,4 +357,4 @@ def tag_in_tags_regex(tag, tags):
message = matcher.sub(replace, message)

linebuf += indent_wrap(message)
print(linebuf.encode('utf-8'))
print(linebuf)

0 comments on commit 0f578db

Please sign in to comment.