projects
/
hooke.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upgrade test/data/ playlists to new explicit YAML format.
[hooke.git]
/
hooke
/
driver
/
mfp1dexport.py
diff --git
a/hooke/driver/mfp1dexport.py
b/hooke/driver/mfp1dexport.py
index aefb5a5b12ad98e2f6f570b149e9e713346be3ff..174696b04aa73333ee8e4dcb5c0d65836113e8b1 100644
(file)
--- a/
hooke/driver/mfp1dexport.py
+++ b/
hooke/driver/mfp1dexport.py
@@
-21,6
+21,7
@@
"""
import os
+import os.path
from .. import libhooke as lh
from .. import curve as lhc
@@
-48,6
+49,8
@@
class mfp1dexportDriver(lhc.Driver):
self.filedata.close()
def is_me(self):
+ if os.path.isdir(path):
+ return False
try:
self.raw_header = self.lines[0:38]
except: