commit | 7ca05ab4eef3f6b3727a754b90b993edfde9421b | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Fri Dec 19 13:02:31 2014 -0800 |
committer | Scott Baker <smbaker@gmail.com> | Fri Dec 19 13:02:31 2014 -0800 |
tree | d19090e0b231d335d9237dd586e5f7ef3e45c188 | |
parent | 19c22dba78bed98ade00e6fb5860b3c5f55cfec9 [diff] |
fix 'sys not defined' error when displaying observer not installed warning
diff --git a/planetstack/core/models/user.py b/planetstack/core/models/user.py index e891452..b30e897 100644 --- a/planetstack/core/models/user.py +++ b/planetstack/core/models/user.py
@@ -1,5 +1,6 @@ import os import datetime +import sys from collections import defaultdict from django.forms.models import model_to_dict from django.db import models