Properly get project name
offlate/systems/gitlab.py
45 | 45 | ||
46 | 46 | currentUser = gl.user.username | |
47 | 47 | projectname = self.uri.split('/')[-1] | |
48 | - | projectfullname = '/'.join(self.uri.split('/')[-2:]) | |
48 | + | projectfullname = urlparse(self.uri).path[1:] | |
49 | 49 | ||
50 | 50 | originproject = gl.projects.get(projectfullname) | |
51 | 51 | try: |