redundant file output removed

parent 8b999bfb
......@@ -53,11 +53,6 @@ class CapacityStationGantt(plugin.OutputPreparationPlugin, TimeSupportMixin):
color='cyan',
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
result[self.configuration_dict['output_id']] = dict(
......@@ -67,4 +62,4 @@ class CapacityStationGantt(plugin.OutputPreparationPlugin, TimeSupportMixin):
task.get('type') == 'station',
task.get('entranceTime'),
task.get('id'))))
return data
\ No newline at end of file
return data
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