diff options
author | Owl <isaclien9752@gmail.com> | 2025-08-23 00:29:45 -0400 |
---|---|---|
committer | Owl <isaclien9752@gmail.com> | 2025-08-23 00:29:45 -0400 |
commit | a5bdfdab2ec68ebfe99535a54b3b0cd8b95a87d6 (patch) | |
tree | 3cbc818cc7a9e221697fe0be05b9552fd6d33f09 /smg_common.py | |
parent | 51077c2fe8c160743a67303fb516126bb98afff7 (diff) | |
download | blenxy-a5bdfdab2ec68ebfe99535a54b3b0cd8b95a87d6.tar.gz blenxy-a5bdfdab2ec68ebfe99535a54b3b0cd8b95a87d6.zip |
bck exporter seems to be working
Diffstat (limited to 'smg_common.py')
-rw-r--r-- | smg_common.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/smg_common.py b/smg_common.py index 3c7bb0f..4fa4017 100644 --- a/smg_common.py +++ b/smg_common.py @@ -1,7 +1,7 @@ # padding stuff # padding string -class padding(): +class padding: # the fill string def __init__(self): @@ -14,16 +14,16 @@ class padding(): if ((type(start_index) != int) or (type(byte_alignment) != int) or (start_index < 0) - or (byte_alignment != 4 and byte_alignment != 32): + or (byte_alignment != 4 and byte_alignment != 32)): return None # return the fill string i = 0 rtn = "" while (start_index % byte_alignment != 0): - rtn += self.padding[i] + rtn += self.string[i] i += 1 start_index += 1 - return rtn + return bytes(rtn.encode("ascii")) # name tables |