Skip to content

Commit c94c019

Browse files
committed
Added pyBjson as submodule
1 parent ea6daa2 commit c94c019

8 files changed

Lines changed: 8 additions & 541 deletions

File tree

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "pyBjson"]
2+
path = pyBjson
3+
url = https://github.com/STBrian/pyBjson.git

bjson/JOAAThash.py

Lines changed: 0 additions & 35 deletions
This file was deleted.

bjson/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

bjson/bjson.py

Lines changed: 0 additions & 425 deletions
This file was deleted.

bjson/conversions.py

Lines changed: 0 additions & 50 deletions
This file was deleted.

bjson/updateDatabase.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
import tkinter.filedialog
55
import tkinter.messagebox
66
import tkinter.ttk
7-
import bjson
7+
from pyBjson import convertBjsonToJson
88
import json
99
import threading
1010
from functools import partial
11-
import sys, os, argparse, traceback
12-
from bjson.conversions import *
11+
import sys, os, argparse
12+
from pyBjson.conversions import uint_to_bytes, int_to_bytes, float_to_bytes
1313

1414
def getBjsonContent(fp: str|Path):
15-
return bjson.convertBjsonToJson(fp)
15+
return convertBjsonToJson(fp)
1616

1717
def addDictToTree(tree: ttk.Treeview, root: str, key: str, data: dict, count: int):
1818
if root == "":

pyBjson

Submodule pyBjson added at 8438c79

0 commit comments

Comments
 (0)