1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-24 14:27:27 +00:00

Changed formatter to use any order: tag

This commit is contained in:
Myned 2017-10-30 23:29:22 -04:00
parent 801ee2be71
commit 17b8ccb895

View file

@ -1,11 +1,11 @@
def tostring(i, *, random=False):
def tostring(i, *, order=None):
o = ''
if i:
for v in i:
o += v + ' '
o = o[:-1]
elif random is True:
o += 'order:random'
elif order:
o += order
else:
o = ' '
return o