Skip to content

Commit bdfbd09

Browse files
fix #633
1 parent ed8e2ad commit bdfbd09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datajoint/heading.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def init_from_database(self, conn, database, table_name):
219219
attr.pop('Extra')
220220

221221
# process custom DataJoint types
222-
custom_type = re.match(r':(?P<type>.+):(?P<comment>.*)', attr['comment'])
222+
custom_type = re.match(r':(?P<type>[^:]+):(?P<comment>.*)', attr['comment'])
223223
if custom_type:
224224
attr.update(custom_type.groupdict(), unsupported=False)
225225
try:

0 commit comments

Comments
 (0)