~kevang/mnemosyne-proj/grade-shortcuts-improvements

« back to all changes in this revision

Viewing changes to mnemosyne/openSM2sync/client.py

  • Committer: Peter.Bienstman at UGent
  • Date: 2014-01-29 19:55:28 UTC
  • Revision ID: peter.bienstman@ugent.be-20140129195528-40nn1t2q4eieceqd
More html tweaks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
                self.database.dynamically_create_media_files()
140
140
            # Set timeout long enough for e.g. a slow NAS waking from 
141
141
            # hibernation.
142
 
            socket.setdefaulttimeout(30)
 
142
            socket.setdefaulttimeout(45)
143
143
            self.login(username, password)
144
144
            # Generating media files at the server side could take some time,
145
145
            # so we update the timeout.