Skip to content

Commit 4acfb49

Browse files
committed
Rename generate_json to excel_to_json
1 parent f4118cf commit 4acfb49

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

UpdateJsonDataset/GenerateJsonDataset.pyproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<Compile Include="update_json.py">
2929
<SubType>Code</SubType>
3030
</Compile>
31-
<Compile Include="generate_json.py">
31+
<Compile Include="excel_to_json.py">
3232
<SubType>Code</SubType>
3333
</Compile>
3434
</ItemGroup>

UpdateJsonDataset/update_json.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
See: http://goo.gl/b9R8DE
99
'''
1010

11-
from generate_json import excel_to_json
11+
from excel_to_json import excel_to_json
1212
from download_file import download_file
1313

1414
SOURCESHEET = 'https://docs.google.com/spreadsheets/d/1TWS238xacAto-fLKh1n5uTsdijWdCEsGIM0Y0Hvmc5g/pub?output=xlsx'
@@ -19,8 +19,6 @@ def write_json_file(input, filename):
1919
output = open(filename, 'w')
2020
output.writelines(input)
2121

22-
23-
2422
def generate_json(source_file, download_destination, json_file):
2523
download_file(source_file, download_destination)
2624
write_json_file(excel_to_json(download_destination), json_file)

0 commit comments

Comments
 (0)