mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 08:31:16 +02:00
2021-12-12 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SchedulerCode()' type class to the 'rivwebpyapi' API. * Modified the 'rivwebpyapi.ListCartSchedCodes()' call to return a list of 'rivwebpyapi.SchedulerCode' objects. * Modified the 'rivwebpyapi.ListSchedulerCodes()' call to return a list of 'rivwebpyapi.SchedulerCode' objects. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -77,6 +77,6 @@ except rivwebpyapi.RivWebPyError as err:
|
||||
# Display the code list
|
||||
#
|
||||
for code in codes:
|
||||
print('code: '+str(code['code']))
|
||||
print('description: '+str(code['description']))
|
||||
for key in code.values():
|
||||
print(key+': '+str(code.values()[key]))
|
||||
print('')
|
||||
|
@@ -72,6 +72,6 @@ except rivwebpyapi.RivWebPyError as err:
|
||||
# Display the code list
|
||||
#
|
||||
for code in codes:
|
||||
print('code: '+str(code['code']))
|
||||
print('description: '+str(code['description']))
|
||||
for key in code.values():
|
||||
print(key+': '+str(code.values()[key]))
|
||||
print('')
|
||||
|
Reference in New Issue
Block a user