We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfb3d4e commit 395b33dCopy full SHA for 395b33d
1 file changed
pythonbits/bb.py
@@ -81,6 +81,10 @@ def subcategory(self):
81
elif mime_guess[0] == 'audio':
82
return AudioSubmission
83
84
+ raise Exception("Unable to guess category using known mimetypes. "
85
+ "Consider explicitly specifying the submission "
86
+ "category.")
87
+
88
def subcategorise(self):
89
log.debug('Attempting to narrow category')
90
SubCategory = self.subcategory()
0 commit comments