redundant file output removed

parent 8b999bfb
...@@ -53,11 +53,6 @@ class CapacityStationGantt(plugin.OutputPreparationPlugin, TimeSupportMixin): ...@@ -53,11 +53,6 @@ class CapacityStationGantt(plugin.OutputPreparationPlugin, TimeSupportMixin):
color='cyan', color='cyan',
entranceTime=entranceTime entranceTime=entranceTime
) )
import json
outputJSONString=json.dumps(task_dict, indent=5)
outputJSONFile=open('taskDict.json', mode='w')
outputJSONFile.write(outputJSONString)
# return the result to the gadget # return the result to the gadget
result[self.configuration_dict['output_id']] = dict( result[self.configuration_dict['output_id']] = dict(
...@@ -67,4 +62,4 @@ class CapacityStationGantt(plugin.OutputPreparationPlugin, TimeSupportMixin): ...@@ -67,4 +62,4 @@ class CapacityStationGantt(plugin.OutputPreparationPlugin, TimeSupportMixin):
task.get('type') == 'station', task.get('type') == 'station',
task.get('entranceTime'), task.get('entranceTime'),
task.get('id')))) task.get('id'))))
return data return data
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment