Skip to content

Commit

Permalink
Link conflict edges from witness overview
Browse files Browse the repository at this point in the history
  • Loading branch information
thvitt committed Sep 6, 2018
1 parent 86073c2 commit 7ac95d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion datings.py
Expand Up @@ -96,7 +96,10 @@ def __str__(self):

@property
def filename(self):
return self.uri.replace('faust://bibliography/', '')
if self.uri.startswith('faust://bibliography'):
return self.uri.replace('faust://bibliography/', '')
else:
return self.uri.replace('faust://', '').replace('/', '-')

@property
def citation(self):
Expand Down

0 comments on commit 7ac95d7

Please sign in to comment.