Module:MOS degrees: Difference between revisions

Ganaram inukshuk (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
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']
elseif frame.args['MOS Prefix'] == "NONE" then
mos_prefix = ""
end
end