Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

move the import of libmimms so it will be loaded only when needed

  • Loading branch information...
commit fe66d0baeb375b074b85595f7a68f8c0abe70ead 1 parent 96ca80e
Ori Hoch authored
3  src/knesset/video/management/commands/sub_commands/DownloadCommitteesVideos.py
View
@@ -5,13 +5,12 @@
from django.contrib.contenttypes.models import ContentType
from knesset.committees.models import Committee
from knesset.video.models import Video
-import knesset.video.utils.mms as utils_mms
from knesset.video.utils import get_videos_queryset
class DownloadCommitteesVideos(SubCommand):
def __init__(self,command,mms=None,mb_quota=None):
- if mms is None: mms=utils_mms
+ if mms is None: import knesset.video.utils.mms as mms
SubCommand.__init__(self,command)
self._verifyDataDir()
videos=self._getVideosToDownload()
Please sign in to comment.
Something went wrong with that request. Please try again.