diff options
author | Britney Fransen <brfransen@gmail.com> | 2019-04-12 20:12:05 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2019-04-12 20:12:05 (GMT) |
commit | c8044aafe5572523ad0ba21a123cd4a6d677c5fa (patch) | |
tree | b6c52b6cb83ebc71b9baaedd0c377d1cc87fffde /abs/core/xymon/hbnotes.py | |
parent | 73cfb83a5baecfe0529fda59ca57233d8843f783 (diff) | |
parent | f9636cc3fd81130d36809a8f83107a0e2a50ebce (diff) | |
download | linhes_pkgbuild-master.zip linhes_pkgbuild-master.tar.gz linhes_pkgbuild-master.tar.bz2 |
Diffstat (limited to 'abs/core/xymon/hbnotes.py')
-rwxr-xr-x | abs/core/xymon/hbnotes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/abs/core/xymon/hbnotes.py b/abs/core/xymon/hbnotes.py index d18a606..1d3e459 100755 --- a/abs/core/xymon/hbnotes.py +++ b/abs/core/xymon/hbnotes.py @@ -39,8 +39,8 @@ def create_dot_file(): tunerdict = {} for row in result: hostname = row[0] - dot_hostname = row[0].replace('.','_') - dot_hostname = row[0].replace('-','__') + dot_hostname = hostname.replace('.','_') + dot_hostname = dot_hostname.replace('-','__') #Find the system type cursor.execute("select value,data from settings where hostname=%s and value in ('HostSystemType','HostRunFrontend');",(row)) hostvalues=cursor.fetchall() |