Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
43c40ef4
Commit
43c40ef4
authored
Oct 27, 2014
by
Maxime Perrotin
Browse files
Remove drive letter only on Windows, not Linux
parent
e63af4e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Asn1scc.py
View file @
43c40ef4
...
...
@@ -67,7 +67,7 @@ def parse_asn1(*files, **options):
# Create a temporary directory to store dataview.py and import it
tempdir
=
tempfile
.
mkdtemp
()
sys
.
path
.
append
(
tempdir
)
if
hasattr
(
sys
,
'frozen'
)
or
os
.
name
==
'nt'
:
if
os
.
name
==
'nt'
:
# On windows, remove the drive letter, workaround to ASN1SCC bug
tempdir
=
tempdir
[
2
:]
asn1scc_root
=
asn1scc_root
[
2
:]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment