Set the default value for the variable VALGRIN to empty

main
LeoHsiao 5 years ago
parent aa462f84d9
commit da919e3d68

@ -32,7 +32,7 @@ class Config:
exiv2_port = '12760' exiv2_port = '12760'
exiv2_echo = '' exiv2_echo = ''
verbose = '' verbose = ''
valgrind = '++' valgrind = ''
@classmethod @classmethod
def init(cls): def init(cls):
@ -462,7 +462,7 @@ class Executer:
def run(self): def run(self):
# Whether to display the command to execute # Whether to display the command to execute
if Config.exiv2_echo or Config.verbose: if Config.exiv2_echo or Config.verbose:
print(Config.valgrind, ' '.join(self.args)) print('++', ' '.join(self.args))
# Check stdout # Check stdout
if self.redirect_stderr_to_stdout: if self.redirect_stderr_to_stdout:

@ -20,7 +20,7 @@ exiv2_http: http://127.0.0.1
exiv2_port: 12760 exiv2_port: 12760
exiv2_echo: exiv2_echo:
verbose: verbose:
valgrind: ++ valgrind:
[paths] [paths]
exiv2: ${ENV:exiv2_path}/exiv2 exiv2: ${ENV:exiv2_path}/exiv2

Loading…
Cancel
Save