Closed gretzki closed 9 years ago
If results.group('extension') returns None, the extension variable is None and thus, the following string concatination filename + extension will fail.
results.group('extension')
None
filename + extension
This bugfix sets extension variable to empty string instead if it's none.
extension
none
If
results.group('extension')
returnsNone
, the extension variable isNone
and thus, the following string concatinationfilename + extension
will fail.This bugfix sets
extension
variable to empty string instead if it'snone
.