Skip to content

Commit

Permalink
Commented WETUBE imports in file.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kedar2a committed Nov 18, 2016
1 parent e3260a8 commit 07c207a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gnowsys-ndf/gnowsys_ndf/ndf/views/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@

from mongokit import paginator

from gnowsys_ndf.settings import GSTUDIO_SITE_VIDEO, EXTRA_LANG_INFO, GAPPS, MEDIA_ROOT, WETUBE_USERNAME, WETUBE_PASSWORD, GSTUDIO_FILE_UPLOAD_FORM
from gnowsys_ndf.settings import GSTUDIO_SITE_VIDEO, EXTRA_LANG_INFO, GAPPS, MEDIA_ROOT, GSTUDIO_FILE_UPLOAD_FORM
# from gnowsys_ndf.settings import WETUBE_USERNAME, WETUBE_PASSWORD
from gnowsys_ndf.ndf.views.notify import set_notif_val
from gnowsys_ndf.ndf.org2any import org2html
from gnowsys_ndf.ndf.models import Node, GSystemType, File, GRelation, STATUS_CHOICES, Triple, node_collection, triple_collection, gridfs_collection
Expand Down Expand Up @@ -488,7 +489,7 @@ def get_query_cursor_filetype(operator, member_of_list, group_id, userid, page_n
result_cur = node_collection.find({'member_of': {'$nin':[ObjectId(GST_IMAGE._id), ObjectId(GST_VIDEO._id)]},
'_type': {'$in': ['File', 'GSystem']},
'group_set': {'$all': [ObjectId(group_id)]},

'if_file.mime_type': {'$ne': None},
'$or': [
{'access_policy': u"PUBLIC"},
Expand Down

0 comments on commit 07c207a

Please sign in to comment.