|
|
@ -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):
|
|
|
|