Commit 43c40ef4 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Remove drive letter only on Windows, not Linux

parent e63af4e3
......@@ -67,7 +67,7 @@ def parse_asn1(*files, **options):
# Create a temporary directory to store and import it
tempdir = tempfile.mkdtemp()
if hasattr(sys, 'frozen') or == 'nt':
if == 'nt':
# On windows, remove the drive letter, workaround to ASN1SCC bug
tempdir = tempdir[2:]
asn1scc_root = asn1scc_root[2:]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment