mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Correct the checks for gnc:*finance-quote-{check,helper}* to use string-null?.
g-find-program-in-path returns a string---it may be empty but not #f or '(). git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16096 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
3000cdacb5
commit
c8a63e3c73
@ -247,7 +247,7 @@
|
||||
(from-child #f))
|
||||
|
||||
(define (start-program)
|
||||
(if (not (null? gnc:*finance-quote-check*))
|
||||
(if (not (string-null? gnc:*finance-quote-check*))
|
||||
(set! program (gnc-spawn-process-async
|
||||
(list "perl" "-w" gnc:*finance-quote-check*) #t))))
|
||||
|
||||
@ -331,7 +331,7 @@
|
||||
(from-child #f))
|
||||
|
||||
(define (start-quoter)
|
||||
(if (not (null? gnc:*finance-quote-helper*))
|
||||
(if (not (string-null? gnc:*finance-quote-helper*))
|
||||
(set! quoter (gnc-spawn-process-async
|
||||
(list "perl" "-w" gnc:*finance-quote-helper*) #t))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user