mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix logic
This commit is contained in:
parent
4f0d00fa1c
commit
9a20d4f43a
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ def download_remote_logs(options):
|
|||
remote_log,
|
||||
'{0}{1}'.format(
|
||||
os.path.basename(remote_log),
|
||||
remote_log.endswith('.log') and '' or '.log'
|
||||
'' if remote_log.endswith('.log') else '.log'
|
||||
)
|
||||
)
|
||||
])
|
||||
|
|
Loading…
Add table
Reference in a new issue