X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-xearth;fp=ud-xearth;h=4f1773bbfe8733e992be4bd346debb09bee7d363;hb=068a588b206be799352a8113e7ac5627500649e2;hp=96798664afce0208ec678900a45f3a356804e5a2;hpb=ee3eb0677056b25df70d8fe93a74cb2e6c0e38f5;p=mirror%2Fuserdir-ldap.git diff --git a/ud-xearth b/ud-xearth index 9679866..4f1773b 100755 --- a/ud-xearth +++ b/ud-xearth @@ -52,9 +52,9 @@ for x in Attrs: Count = Count + 1; try: if Anon != 0: - F.write("%8s %8s \"\"\n"%(DecDegree(x,"latitude",Anon),DecDegree(x,"longitude",Anon))); + F.write("%8s %8s \"\"\n"%(DecDegree(GetAttr(x,"latitude"),Anon),DecDegree(GetAttr(x,"longitude"),Anon))); else: - F.write("%16s %16s \"%s\" \t# %s\n"%(DecDegree(x,"latitude",Anon),DecDegree(x,"longitude",Anon),GetAttr(x,"uid"),EmailAddress(x))); + F.write("%16s %16s \"%s\" \t# %s\n"%(DecDegree(GetAttr(x,"latitude"),Anon),DecDegree(GetAttr(x,"longitude"),Anon),GetAttr(x,"uid"),EmailAddress(x))); except: Failed = Failed + 1; if Anon == 0: