mirror of
https://github.com/correl/mtgsqlive.git
synced 2024-12-01 11:09:57 +00:00
remove unneeded func & msg
This commit is contained in:
parent
8a0e745641
commit
232b8ad1bc
1 changed files with 2 additions and 6 deletions
|
@ -4,11 +4,6 @@ import sqlite3
|
|||
import os
|
||||
import fileinput
|
||||
|
||||
def get_next(some_iterable, window=1):
|
||||
items, nexts = tee(some_iterable, 2)
|
||||
nexts = islice(nexts, window, None)
|
||||
return izip_longest(items, nexts)
|
||||
|
||||
def dict_from_row(row):
|
||||
return dict(zip(row.keys(), row))
|
||||
|
||||
|
@ -56,6 +51,7 @@ def main():
|
|||
writeFile.write(json_code)
|
||||
writeFile.close()
|
||||
|
||||
# Additional hacks to now cleanup the file, needs to be redone / hopefully not needed
|
||||
with open(xml) as f:
|
||||
with open(xml2, 'w') as f2:
|
||||
for line in f.readlines():
|
||||
|
|
Loading…
Reference in a new issue