Skip to content

Commit

Permalink
Update kolibri/plugins/device/kolibri_plugin.py
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Tibbles <[email protected]>
  • Loading branch information
nucleogenesis and rtibbles authored Jun 6, 2023
1 parent 059fbd5 commit f020524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kolibri/plugins/device/kolibri_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class DeviceManagementPlugin(KolibriPluginBase):
def any_ie11_users():
from kolibri.core.logger.models import UserSessionLog

return UserSessionLog.objects.filter(device_info__contains="IE,11").count() > 0
return UserSessionLog.objects.filter(device_info__contains="IE,11").exists()


def using_py27():
Expand Down

0 comments on commit f020524

Please sign in to comment.