diff options
| author | alvinwang <alvinwang@msn.com> | 2015-12-23 01:45:11 -0600 |
|---|---|---|
| committer | alvinwang <alvinwang@msn.com> | 2015-12-24 19:14:25 -0600 |
| commit | 72d0ed63bee7c9c33554e93a0f944aad34776a37 (patch) | |
| tree | 9e88cf1fca53b50441db77c397e595c5c0b9936d | |
| parent | f0418b78ca1711448852a7828287fd8522cfada3 (diff) | |
| download | vpdtools-72d0ed63bee7c9c33554e93a0f944aad34776a37.tar.gz vpdtools-72d0ed63bee7c9c33554e93a0f944aad34776a37.zip | |
Add windows system support
| -rwxr-xr-x | createVpd.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/createVpd.py b/createVpd.py index 1f2fda4..9caa3a0 100755 --- a/createVpd.py +++ b/createVpd.py @@ -39,6 +39,7 @@ import struct import re import argparse import textwrap +import os ############################################################ # Classes - Classes - Classes - Classes - Classes - Classes @@ -371,7 +372,7 @@ clInputPath = args.inpath # Make sure the path exists if (clInputPath != None): # Add the CWD onto the path so the local directory is always looked at - clInputPath += ":." + clInputPath += os.pathsep + "." else: # Set it the CWD since it will be used throughout the program and having it set to None breaks things clInputPath = "." |

