summaryrefslogtreecommitdiff
path: root/server/piztor/easy_import.py
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-09-01 23:49:12 +0800
committerTeddy <ted.sybil@gmail.com>2013-09-01 23:49:12 +0800
commit4be449207cd12831a1858860eba1c8bb0618aa80 (patch)
treeb50013ee406905d25f6b7d996e69249c89bdbe97 /server/piztor/easy_import.py
parent99a1b057ead83443ceeb80d17581a041bf56d248 (diff)
...
Diffstat (limited to 'server/piztor/easy_import.py')
-rw-r--r--server/piztor/easy_import.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/piztor/easy_import.py b/server/piztor/easy_import.py
index e103de7..261d44d 100644
--- a/server/piztor/easy_import.py
+++ b/server/piztor/easy_import.py
@@ -48,7 +48,7 @@ def import_user_data(data):
g = find_or_create_group(int(cn), int(sn), session)
um.sub.append(g)
um.auth = UserAuth(user.password)
- um.location = LocationInfo(lat = 0, lng = 0)
+ um.location = LocationInfo(lat = NOT_A_LAT, lng = NOT_A_LNG)
session.add(um)
session.commit()