summaryrefslogtreecommitdiff
path: root/gpsfake
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-06-24 16:01:10 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-06-24 16:01:10 +0000
commitef646bd459e97e18acaf134628f7f4fba2ffa131 (patch)
treecba9cb0977b57b7d3aaeea838159713dc96af24f /gpsfake
parent3215e5e2af0527742adbf492e0b78fc4ae618582 (diff)
downloadgpsd-ef646bd459e97e18acaf134628f7f4fba2ffa131.tar.gz
Predicate unification.
Diffstat (limited to 'gpsfake')
-rwxr-xr-xgpsfake3
1 files changed, 2 insertions, 1 deletions
diff --git a/gpsfake b/gpsfake
index e0497eaf..469719c9 100755
--- a/gpsfake
+++ b/gpsfake
@@ -131,7 +131,8 @@ else:
if pipe:
baton.twirl()
return True
- fakegps.start(fakehook)
+ fakegps.go_predicate = fakehook
+ fakegps.start(thread=False)
except KeyboardInterrupt:
pass
if not daemon.is_alive():