We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19ad357 commit ac60170Copy full SHA for ac60170
pyneofile/pyfile.py
@@ -35,10 +35,15 @@
35
import inspect
36
import tempfile
37
import configparser
38
+__enable_pywwwget__ = True
39
pywwwget = False
40
try:
- from .pywwwget import upload_file_to_internet_file, download_file_from_internet_file
41
- pywwwget = True
+ if(__enable_pywwwget__):
42
+ from .pywwwget import upload_file_to_internet_file, download_file_from_internet_file
43
+ pywwwget = True
44
+ else:
45
+ pywwwget = False
46
+ pass
47
except ImportError:
48
49
from io import open
0 commit comments