Daniel Brötzmann pushed to branch master at gajim / gajim

Commits:

1 changed file:

Changes:

  • gajim/common/modules/httpupload.py
    ... ... @@ -88,7 +88,7 @@ def pass_disco(self, info):
    88 88
     
    
    89 89
         def make_transfer(self, path, encryption, contact, groupchat=False):
    
    90 90
             if not path or not os.path.exists(path):
    
    91
    -            return None
    
    91
    +            raise FileError(_('Could not access file'))
    
    92 92
     
    
    93 93
             invalid_file = False
    
    94 94
             stat = os.stat(path)