Skip to content

Commit

Permalink
changed supported types to a set
Browse files Browse the repository at this point in the history
  • Loading branch information
brownan committed Oct 18, 2010
1 parent 235a41e commit 283320e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playlist/upload.py
Expand Up @@ -16,7 +16,7 @@ class UnsupportedFormatError(Exception): pass
class CorruptFileError(Exception): pass

class UploadedFile:
supported_types = ['mp3'] #TODO: ogg (and m4a?)
supported_types = set(['mp3']) #TODO: ogg (and m4a?)
def __init__(self, file, realname=None, filetype=None):

self.type = filetype
Expand Down

0 comments on commit 283320e

Please sign in to comment.