diff options
Diffstat (limited to 'abs/core-testing/LinHES-config/timezip.py')
-rwxr-xr-x | abs/core-testing/LinHES-config/timezip.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/abs/core-testing/LinHES-config/timezip.py b/abs/core-testing/LinHES-config/timezip.py index 31acd67..bf6b389 100755 --- a/abs/core-testing/LinHES-config/timezip.py +++ b/abs/core-testing/LinHES-config/timezip.py @@ -1,4 +1,5 @@ #!/usr/bin/python +# -*- coding: utf-8 -*- # import MySQL module #used to import the zipcode/timezone/nfs info fromMBE import MySQLdb @@ -90,7 +91,7 @@ def selectvars(): try: tz_region=result[0] except TypeError: - tz="" + tz_region="" tempsubregion="HostTimeZoneRegion_" + tz_region cursor.execute("select data from settings where value=%s and hostname=(%s)",(tempsubregion,BEhostname)) |