master
Sven Slootweg 12 years ago
parent e43e0ed389
commit 8d6ecd683a

@ -1,16 +1,20 @@
import json, time, os, re, requests, urllib import json, time, os, re, requests, urllib
fs_available = True
try: try:
from fs.contrib.tahoelafs import TahoeLAFS from fs.contrib.tahoelafs import TahoeLAFS
except ImportError: except ImportError:
fs_available = False fs_available = False
else: else:
try: try:
from fs.expose import fuse, dokan from fs.expose import fuse
except ImportError: except ImportError:
fs_available = false try:
else: from fs.expose import dokan
fs_available = True except ImportError:
fs_available = False
class PytahoeException(Exception): class PytahoeException(Exception):

Loading…
Cancel
Save