Skip to content

Commit 8293bc6

Browse files
committed
fix: fixed zabbix_agent.conf format
1 parent faf9dd8 commit 8293bc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mamonsu/lib/get_keys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ def key_and_query(self, args=None):
3737
args = []
3838
result = ""
3939
for one in args:
40-
result += 'UserParameter={0}\n'.format(one)
40+
result += 'UserParameter={0}\n'.format(' '.join(one.replace('\n', ' ').split()))
4141
return result

0 commit comments

Comments
 (0)