Skip to content

Commit

Permalink
Change default protocol to http
Browse files Browse the repository at this point in the history
  • Loading branch information
Ezra Peisach committed Oct 8, 2024
1 parent db36491 commit a1772ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wwpdb/apps/val_rel/config/ValConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ def __init__(self, site_id=None):
self.__site_id = site_id
self.__cI = ConfigInfo(self.__site_id)
self.__cICommon = ConfigInfoAppCommon(self.__site_id)
self._val_rel_protocol = self.__cI.get('VAL_REL_PROTOCOL', 'ftp')
self._val_rel_protocol = self.__cI.get('VAL_REL_PROTOCOL', 'http')
if self._val_rel_protocol not in ['ftp', 'http', 'https']:
logging.warning('Error - invalid protocol %s, setting to ftp' % self._val_rel_protocol)
self._val_rel_protocol = 'ftp'
logging.warning('Error - invalid protocol %s, setting to http' % self._val_rel_protocol)
self._val_rel_protocol = 'http'
# http settings
self.connection_timeout = 60
self.read_timeout = 60
Expand Down

0 comments on commit a1772ce

Please sign in to comment.