Jump to content

imagedds.py


photo

Recommended Posts

I ve update imagedds files and conversion throws me this error:

C:\conv\conv>python imagedds.py
Traceback (most recent call last):
  File "imagedds.py", line 138, in <module>
    process(name)
  File "imagedds.py", line 90, in process
    elif p_pat.match(name) or h_pat.match(name) or t_pat.match(name) or a_pat.match(name) or f_pat(name):
TypeError: '_sre.SRE_Pattern' object is not callable

 

I have python 2.7 (worked well before).

 

Link to comment

Hi,

 

f_pat(name) should be f_pat.match(name)

 

Fixed line 90:

	elif p_pat.match(name) or h_pat.match(name) or t_pat.match(name) or a_pat.match(name) or f_pat.match(name):

Honya

Link to comment
×
×
  • Create New...