Private GIT

Skip to content
Snippets Groups Projects
Commit 32f5d3b4 authored by Fernando's avatar Fernando Committed by fernandog
Browse files

Remove hardlink and symlink from actions if Win32

parent c5e0522c
No related branches found
No related tags found
No related merge requests found
#import os.path
#import sickbeard
#import sys
#from sickbeard.common import *
#from sickbeard import config
#from sickbeard import metadata
......@@ -71,7 +72,12 @@
<span class="component-desc">
<select name="process_method" id="process_method" class="form-control input-sm">
#set $process_method_text = {'copy': "Copy", 'move': "Move", 'hardlink': "Hard Link", 'symlink' : "Symbolic Link"}
#for $curAction in ('copy', 'move', 'hardlink', 'symlink'):
#if sys.platform == 'win32'
#set $process_action = ('copy', 'move')
#else
#set $process_action = ('copy', 'move', 'hardlink', 'symlink')
#end if
#for $curAction in $process_action:
#if $sickbeard.PROCESS_METHOD == $curAction:
#set $process_method = "selected=\"selected\""
#else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment