test
This commit is contained in:
parent
462957b99d
commit
888d559437
@ -22,18 +22,18 @@ class OriginService():
|
|||||||
raise fHDHR.exceptions.OriginSetupError("XUMO Setup Failed")
|
raise fHDHR.exceptions.OriginSetupError("XUMO Setup Failed")
|
||||||
else:
|
else:
|
||||||
self.fhdhr.logger.info("XUMO Setup Success")
|
self.fhdhr.logger.info("XUMO Setup Success")
|
||||||
self.fhdhr.config.write(self.fhdhr.config.dict["main"]["dictpopname"], 'geoID', self.geoID)
|
self.fhdhr.config.write(self.fhdhr.config.dict["main"]["dictpopname"], 'geoid', self.geoID)
|
||||||
self.fhdhr.config.write(self.fhdhr.config.dict["main"]["dictpopname"], 'geoLST', self.geoLST)
|
self.fhdhr.config.write(self.fhdhr.config.dict["main"]["dictpopname"], 'geolst', self.geoLST)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def getID(self):
|
def getID(self):
|
||||||
|
|
||||||
print(self.fhdhr.config.dict["origin"]["geoID"])
|
print(self.fhdhr.config.dict["origin"]["geoid"])
|
||||||
print(self.fhdhr.config.dict["origin"]["geoLST"])
|
print(self.fhdhr.config.dict["origin"]["geolst"])
|
||||||
|
|
||||||
if self.fhdhr.config.dict["origin"]["geoID"] and self.fhdhr.config.dict["origin"]["geoLST"]:
|
if self.fhdhr.config.dict["origin"]["geoID"] and self.fhdhr.config.dict["origin"]["geoLST"]:
|
||||||
geoID = self.fhdhr.config.dict["origin"]["geoID"]
|
geoID = self.fhdhr.config.dict["origin"]["geoid"]
|
||||||
geoLST = self.fhdhr.config.dict["origin"]["geoLST"]
|
geoLST = self.fhdhr.config.dict["origin"]["geolst"]
|
||||||
return geoID, geoLST
|
return geoID, geoLST
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user