Skip to content
This repository has been archived by the owner on Nov 9, 2019. It is now read-only.

Commit

Permalink
Fix #8: py35 requires additional str conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpdp7 committed Aug 20, 2018
1 parent 6ec05c1 commit 062ca4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyccw/main/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def get_hostname():


def spawn_server(path, file):
s = subprocess.Popen(['pyccw_serve', path, '0'], stdout=subprocess.PIPE)
s = subprocess.Popen(['pyccw_serve', str(path), '0'], stdout=subprocess.PIPE)
while True:
try:
out = subprocess.check_output(['lsof', '-P', '-a', '-p', str(s.pid), '-i', 'TCP', '-sTCP:LISTEN'])
Expand Down

0 comments on commit 062ca4c

Please sign in to comment.