commit | 83f5b62d9eef8678b912301788ccf3be092063b3 | [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 | 50f9377d6b5d6db9294304e8c7a5d8bc0a541252 [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