diff --git a/one/views.py b/one/views.py index 55a055a..77feea4 100644 --- a/one/views.py +++ b/one/views.py @@ -208,7 +208,7 @@ ajax_share_wizard = login_required(AjaxShareWizard.as_view()) class AjaxShareEditWizard(View): def get(self, request, id, *args, **kwargs): det = UserCloudDetails.objects.get(user=request.user) - if det.get_weighted_share_count() >= det.share_quota: + if det.get_weighted_share_count() > det.share_quota: return HttpResponse(unicode(_('You do not have any free share quota.'))) types = TYPES_L for i, t in enumerate(types):