Skip to content

Commit 71acfbc

Browse files
authored
Update retrieves_temp_folder_r17.py
Fix retrieves_temp_folder, not always output 8 characters
1 parent ba0daf1 commit 71acfbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/01_foundations/retrieves_temp_folder_r17.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def CRC(rawString):
6161
k >>= 8
6262
crc = crc32tab_o32[(crc & 0xff) ^ (k & 0xff)] ^ (crc >> 8)
6363

64-
return format(crc ^ 0xffffffff, 'x').upper()
64+
return format(crc ^ 0xffffffff, '08x').upper()
6565

6666

6767
def GetTempFolder(instalDir):

0 commit comments

Comments
 (0)