Skip to content

Commit

Permalink
switch to cf3
Browse files Browse the repository at this point in the history
  • Loading branch information
Cas Pouw committed Nov 23, 2021
1 parent b005c4d commit ccbcf8a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions sociophysicsDataHandler/spdh.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@
import urllib3

urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
TARGET_WEBDAV = "https://fnfcloud.phys.tue.nl/owncloud"
TARGET_WEBDAV = "https://crowdflow3.phys.tue.nl/owncloud"
DEFAULT_FNAME = "auth.txt"
BASE_PATH = "/storage12/surfsara/ProRail_USE_LL_data"
BASE_PATH = "/storage/surfsara/ProRail_USE_LL_data"
# TARGET_WEBDAV = "https://fnfcloud.phys.tue.nl/owncloud"
# DEFAULT_FNAME = "auth.txt"
# BASE_PATH = "/storage12/surfsara/ProRail_USE_LL_data"


class RedditComments(object):
Expand Down Expand Up @@ -102,7 +105,7 @@ def load_credentials(self, auth_fname=DEFAULT_FNAME):
# raise Exception("File not found")

def __login(self):
self.__oc_client = owncloud.Client(self.__target_webdav, verify_certs = False)
self.__oc_client = owncloud.Client(self.__target_webdav, verify_certs = True)
oc = self.__oc_client

usr = self.__credentials_usr
Expand Down

0 comments on commit ccbcf8a

Please sign in to comment.