d
This commit is contained in:
@@ -1,10 +1,17 @@
|
||||
from generation.isPipeMany import *
|
||||
from generation.isPipeRecent import *
|
||||
|
||||
def fieldFormat(fmtPlain, fmtRecent, name, structure):
|
||||
def fieldFormat(fmtMany, fmtPlain, fmtRecent, name, structure):
|
||||
fmt = fmtPlain
|
||||
if (
|
||||
isPipeRecent(name, structure.core) or
|
||||
isPipeRecent(name, structure.service)
|
||||
):
|
||||
fmt = fmtRecent
|
||||
|
||||
if (
|
||||
isPipeMany(name, structure.core) or
|
||||
isPipeMany(name, structure.service)
|
||||
):
|
||||
fmt = fmtMany
|
||||
return fmt
|
||||
|
||||
Reference in New Issue
Block a user