Private GIT

Skip to content
Snippets Groups Projects
Commit 06d0b277 authored by Fernando's avatar Fernando
Browse files

Show only basename of filename in display show

parent 30972696
Branches
Tags
No related merge requests found
......@@ -547,9 +547,10 @@
#if $epResult['location']
#set $filename = $epResult['location']
#for $rootDir in $sickbeard.ROOT_DIRS.split('|')
#if $rootDir.startswith('/')
#set $filename = ntpath.basename($filename)
#if not $rootDir.startswith('/')
#set $filename = $filename.replace('\\','\\\\')
#end if
#set $filename = ntpath.basename($filename)
#end for
$filename
#end if
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment