fix for a bug reported by rdsears@mtu.edu (TypeError: expected string or buffer)
fix for a bug reported by rdsears@mtu.edu (TypeError: expected string or buffer)

dtrip/.ubuntu,RexGene/monsu-server,RexGene/monsu-server,dtrip/.ubuntu