summaryrefslogtreecommitdiff
path: root/halfnarp2.py
diff options
context:
space:
mode:
Diffstat (limited to 'halfnarp2.py')
-rwxr-xr-xhalfnarp2.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/halfnarp2.py b/halfnarp2.py
index 24d099a..fcc8788 100755
--- a/halfnarp2.py
+++ b/halfnarp2.py
@@ -45,7 +45,7 @@ def get_own_preferences(uid):
45 { 45 {
46 "hashed_uid": pref.public_uid, 46 "hashed_uid": pref.public_uid,
47 "public_url": url_for( 47 "public_url": url_for(
48 "get_preferences", 48 "main.get_preferences",
49 public_uid=public_uid, 49 public_uid=public_uid,
50 _external=True, 50 _external=True,
51 _scheme="https", 51 _scheme="https",
@@ -79,13 +79,13 @@ def store_preferences():
79 "uid": uid, 79 "uid": uid,
80 "hashed_uid": str(public_uid), 80 "hashed_uid": str(public_uid),
81 "public_url": url_for( 81 "public_url": url_for(
82 "get_preferences", 82 "main.get_preferences",
83 public_uid=public_uid, 83 public_uid=public_uid,
84 _external=True, 84 _external=True,
85 _scheme="https", 85 _scheme="https",
86 ), 86 ),
87 "update_url": url_for( 87 "update_url": url_for(
88 "update_preferences", uid=uid, _external=True, _scheme="https" 88 "main.update_preferences", uid=uid, _external=True, _scheme="https"
89 ), 89 ),
90 } 90 }
91 ) 91 )