Commit 19341adb authored by Penom Nom's avatar Penom Nom
Browse files

Fix bug when raw files are empty.

parent 029671e5
......@@ -301,9 +301,9 @@ class t3MySQLdb(object):
req += "data_nature='" + data_nature.replace("'", "\'") + "',"
if type:
req += "type='" + type.replace("'", "\'") + "',"
if nb_sequences:
if nb_sequences is not None:
req += "nb_sequences='" + str(nb_sequences) + "',"
if full_seq_size:
if full_seq_size is not None:
req += "full_seq_size='" + str(full_seq_size) + "',"
if description:
req += "description='" + str(description.replace("'", "\'")) + "',"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment