PyDAQmx icon indicating copy to clipboard operation
PyDAQmx copied to clipboard

issue in DAQmxFunctions.py _add_keywords

Open tgbugs opened this issue 12 years ago • 0 comments

Comment is here, full text reproduced below. https://github.com/clade/PyDAQmx/commit/78c76d1bac58535dc86516479cd42f483abaa82e#PyDAQmx/DAQmxFunctions.py

On windows xp sp3 running Python 3.3 this line causes an error "global name 'add_keywords_decorator' is not defined" I solved this as follows:

44c44,45

a=locals()['add_keywords_decorator'] return a

After that python could find the function that add_keywords_decorator points to and PyDAQmx would import.

tgbugs avatar Apr 30 '13 07:04 tgbugs