learningequality / le-utils

Utilities and constants shared across Kolibri, Ricecooker, and Kolibri Studio
MIT License
2 stars 31 forks source link

remove reference to file_formats.SRT in file_types #50

Closed ivanistheone closed 5 years ago

ivanistheone commented 5 years ago

rm reference, otherwise trying to import file_types causes this error:

Traceback (most recent call last):
  File "./chef.py", line 41, in <module>
    from le_utils.constants import content_kinds, file_types, licenses
  File "/data/sushi-chef-pradigi/venv/lib/python3.5/site-packages/le_utils/constants/file_types.py", line 38, in <module>
    file_formats.SRT: SUBTITLES,
AttributeError: module 'le_utils.constants.file_formats' has no attribute 'SRT'
ivanistheone commented 5 years ago

Not needed anymore since #51 puts back SRT.