Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
KazukiPrzyborowski authored Oct 16, 2024
1 parent 52a5272 commit 468c482
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mkhockeytool.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
defoldsdbfile = "./data/hockeydata.db3"
defsqlfile = "./data/hockeydata.sql"
defjsonfile = "./data/hockeydata.json"
extensions = ['xml', 'sgml', 'json', 'sql', 'db3', 'db', 'sdb', 'sqlite', 'sqlite3', 'py']
extensionsin = ['xml', 'sgml', 'json', 'sql', 'db3', 'db', 'sdb', 'sqlite', 'sqlite3']
extensions = ['.xml', '.sgml', '.json', '.sql', '.db3', '.db', '.sdb', '.sqlite', '.sqlite3', '.py']
extensionsin = ['.xml', '.sgml', '.json', '.sql', '.db3', '.db', '.sdb', '.sqlite', '.sqlite3']
extensionsc = ['.gz', '.bz2', '.zst', '.xz', '.lz4', '.lzo', '.lzop', '.lzma', '.zl', '.zz', '.zlib']
filetypes = ['xml', 'sgml', 'json', 'sql', 'db3', 'py', 'pyalt', 'oopy', 'oopyalt']

Expand Down Expand Up @@ -120,7 +120,7 @@ def get_user_input(txt):
if (getargs.infile is None):
HockeyDatabaseFN = get_user_input(
"Enter Hockey Database File Name For Output: ")
if (getargs.infile is not None):
elif (getargs.infile is not None):
HockeyDatabaseFN = getargs.infile
hockeyarray = pyhockeystats.CreateHockeyArray(HockeyDatabaseFN)
if (premenuact == "2"):
Expand Down Expand Up @@ -791,3 +791,4 @@ def get_user_input(txt):
sub_keep_loop = False
if (menuact.upper() == "E"):
keep_loop = False

0 comments on commit 468c482

Please sign in to comment.