Module:MOS degrees: Difference between revisions
mNo edit summary |
m Fixed a bug with having no mos prefix |
||
| Line 305: | Line 305: | ||
degree_notation = frame.args['Degree Notation'] | degree_notation = frame.args['Degree Notation'] | ||
end | end | ||
if string.len(frame.args['MOS Prefix']) > 0 then | if frame.args['MOS Prefix'] == "NONE" then | ||
mos_prefix = "" | |||
elseif string.len(frame.args['MOS Prefix']) > 0 then | |||
mos_prefix = frame.args['MOS Prefix'] | mos_prefix = frame.args['MOS Prefix'] | ||
end | end | ||