Fix config file priority for display, and batch subprocess commands
This commit is contained in:
parent
549976dcfb
commit
72e4daafc1
2 changed files with 3 additions and 3 deletions
|
@ -931,7 +931,7 @@ class BatchMasterView(MasterView):
|
|||
prefix = self.rattail_config.get('rattail', 'command_prefix',
|
||||
default=sys.prefix)
|
||||
cmd = [os.path.join(prefix, 'bin/{}'.format(command))]
|
||||
for path in reversed(self.rattail_config.files_read):
|
||||
for path in self.rattail_config.prioritized_files:
|
||||
cmd.extend(['--config', path])
|
||||
if username:
|
||||
cmd.extend(['--runas', username])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue