Skip to content

Commit 761acd0

Browse files
committed
changed 'none' string to None type
1 parent 44040bc commit 761acd0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

generate_mac/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ def _get_processed_vid(in_line):
6767
try:
6868
suffix = in_line[0].split('/')[1]
6969
except:
70-
suffix = 'none'
70+
suffix = None
7171

7272
bytes_needed = generate_mac._vid_table[suffix]
7373

7474
# Generate the string returned
7575
out_vid = ''
76-
if suffix == 'none':
76+
if suffix == None:
7777
out_vid = prefix
7878
else:
7979
# Cut down the trailing zeros so random data can be generated in that

0 commit comments

Comments
 (0)