Skip to content

Commit

Permalink
Stripping trailing slash from MyTardis URL, which fixes #37
Browse files Browse the repository at this point in the history
  • Loading branch information
wettenhj committed Apr 27, 2015
1 parent 43e300a commit 50082c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SettingsModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def GetMyTardisUrl(self):
return self.mytardis_url

def SetMyTardisUrl(self, myTardisUrl):
self.mytardis_url = myTardisUrl
self.mytardis_url = myTardisUrl.rstrip('/')

def GetUsername(self):
return self.username
Expand Down

0 comments on commit 50082c9

Please sign in to comment.