Hide git command when not using git
Re-order automation
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
from .main import Updater
|
||||
from couchpotato.environment import Env
|
||||
import os
|
||||
|
||||
def start():
|
||||
return Updater()
|
||||
@@ -33,6 +35,7 @@ config = [{
|
||||
{
|
||||
'name': 'git_command',
|
||||
'default': 'git',
|
||||
'hidden': not os.path.isdir(os.path.join(Env.get('app_dir'), '.git')),
|
||||
'advanced': True
|
||||
},
|
||||
],
|
||||
|
||||
@@ -5,13 +5,12 @@ def start():
|
||||
|
||||
config = [{
|
||||
'name': 'automation',
|
||||
'order': 30,
|
||||
'order': 101,
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'name': 'automation',
|
||||
'label': 'Automation',
|
||||
'description': 'Minimal movie requirements',
|
||||
'label': 'Minimal movie requirements',
|
||||
'options': [
|
||||
{
|
||||
'name': 'year',
|
||||
|
||||
Reference in New Issue
Block a user