File tree Expand file tree Collapse file tree 4 files changed +3
-10
lines changed
Expand file tree Collapse file tree 4 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 5555from email .mime .multipart import MIMEMultipart
5656from string import Template
5757
58- from dotenv import load_dotenv
59- load_dotenv ()
60-
6158
6259class Connector (object ):
6360 """ Class that will listen for messages.
Original file line number Diff line number Diff line change 2424import pyclowder .files
2525import pyclowder .datasets
2626
27- from dotenv import load_dotenv
28- load_dotenv ()
29- clowder_version = float (os .getenv ('CLOWDER_VERSION' , '1' ))
27+ clowder_version = int (os .getenv ('CLOWDER_VERSION' , '1' ))
3028
3129
3230class Extractor (object ):
Original file line number Diff line number Diff line change 1616from pyclowder .collections import get_datasets , get_child_collections
1717import pyclowder .api .v2 .files as v2files
1818import pyclowder .api .v1 .files as v1files
19- from dotenv import load_dotenv
20- load_dotenv ()
21- clowder_version = float (os .getenv ('clowder_version' , '1.0' ))
19+
20+ clowder_version = int (os .getenv ('CLOWDER_VERSION' , '1' ))
2221
2322# Some sources of urllib3 support warning suppression, but not all
2423try :
Original file line number Diff line number Diff line change @@ -22,4 +22,3 @@ requests-toolbelt==0.9.1
2222 # via pyclowder (setup.py)
2323urllib3 == 1.26.8
2424 # via requests
25- python-dotenv
You can’t perform that action at this time.
0 commit comments