demostenes Posted October 24, 2015 Share Posted October 24, 2015 I ve update imagedds files and conversion throws me this error: C:\conv\conv>python imagedds.pyTraceback (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
honya Posted October 26, 2015 Share Posted October 26, 2015 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
Recommended Posts