调整个性化路径

This commit is contained in:
pengtao 2019-10-23 16:13:52 +08:00
parent 7ecaee936f
commit c5c1892868
2 changed files with 27 additions and 27 deletions

47
.idea/workspace.xml generated
View File

@ -2,6 +2,7 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="a022e480-d0d8-46f9-87f5-141a47fd7773" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/data_channel/produce_ss_csv.py" beforeDir="false" afterPath="$PROJECT_DIR$/data_channel/produce_ss_csv.py" afterDir="false" />
</list>
<ignored path=".idea/" />
@ -51,8 +52,8 @@
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/data_channel/produce_ss_csv.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="231">
<caret line="19" column="30" selection-start-line="19" selection-start-column="30" selection-end-line="19" selection-end-column="30" />
<state relative-caret-position="429">
<caret line="27" column="13" selection-start-line="27" selection-start-column="13" selection-end-line="27" selection-end-column="13" />
<folding>
<element signature="e#24#34#0" expanded="true" />
</folding>
@ -229,21 +230,7 @@
<workItem from="1571371398024" duration="626000" />
<workItem from="1571396636592" duration="1545000" />
<workItem from="1571812301360" duration="2782000" />
<workItem from="1571816131529" duration="2015000" />
</task>
<task id="LOCAL-00002" summary="add init files">
<created>1570881656516</created>
<option name="number" value="00002" />
<option name="presentableId" value="LOCAL-00002" />
<option name="project" value="LOCAL" />
<updated>1570881656516</updated>
</task>
<task id="LOCAL-00003" summary="fix">
<created>1570881998308</created>
<option name="number" value="00003" />
<option name="presentableId" value="LOCAL-00003" />
<option name="project" value="LOCAL" />
<updated>1570881998308</updated>
<workItem from="1571816131529" duration="2207000" />
</task>
<task id="LOCAL-00004" summary="fix">
<created>1570882087553</created>
@ -574,17 +561,31 @@
<option name="project" value="LOCAL" />
<updated>1571817998129</updated>
</task>
<option name="localTasksCounter" value="51" />
<task id="LOCAL-00051" summary="调整个性化路径">
<created>1571818281145</created>
<option name="number" value="00051" />
<option name="presentableId" value="LOCAL-00051" />
<option name="project" value="LOCAL" />
<updated>1571818281145</updated>
</task>
<task id="LOCAL-00052" summary="调整个性化路径">
<created>1571818319380</created>
<option name="number" value="00052" />
<option name="presentableId" value="LOCAL-00052" />
<option name="project" value="LOCAL" />
<updated>1571818319380</updated>
</task>
<option name="localTasksCounter" value="53" />
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="47380000" />
<option name="totallyTimeSpent" value="47572000" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1066" extended-state="6" />
<editor active="true" />
<layout>
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.1609808" />
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.1609808" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info id="Favorites" order="2" side_tool="true" />
<window_info anchor="bottom" id="Message" order="0" />
@ -595,7 +596,7 @@
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info anchor="bottom" id="TODO" order="6" />
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
<window_info anchor="bottom" id="Version Control" order="8" sideWeight="0.49946696" visible="true" weight="0.19206008" />
<window_info active="true" anchor="bottom" id="Version Control" order="8" sideWeight="0.49946696" visible="true" weight="0.19206008" />
<window_info anchor="bottom" id="Database Changes" order="9" />
<window_info anchor="bottom" id="Event Log" order="10" sideWeight="0.50053304" side_tool="true" weight="0.19206008" />
<window_info anchor="bottom" id="Terminal" order="11" />
@ -742,8 +743,8 @@
</entry>
<entry file="file://$PROJECT_DIR$/data_channel/produce_ss_csv.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="231">
<caret line="19" column="30" selection-start-line="19" selection-start-column="30" selection-end-line="19" selection-end-column="30" />
<state relative-caret-position="429">
<caret line="27" column="13" selection-start-line="27" selection-start-column="13" selection-end-line="27" selection-end-column="13" />
<folding>
<element signature="e#24#34#0" expanded="true" />
</folding>

View File

@ -25,10 +25,9 @@ class ProduceSSCsv:
filename = f"{self.base_path}/{gameid}_{channelid}__button_name.csv"
with open(filename, 'w') as f:
f.write("button_name,button_name_cn\n")
print(data)
for line in data:
pass
#print(line)
#print(data)
for key, values in data.items():
f.write(f"{key},{values}\n")
def run(self):