style(wallpaper_changer): fix permissions and shebang
This commit is contained in:
1 parent
da32a440f0
commit
f43a15a2a6
3 files changed
+16
-12
No files matched your search
File mode changed.
@@ -1,43 +1,48 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from .core import (
|
from .core import (
|
||||||
|
AUDIO_RE_SUFFIXES,
|
||||||
|
AUDIO_SUFFIXES,
|
||||||
LOG_LEVELS,
|
LOG_LEVELS,
|
||||||
TRACE,
|
TRACE,
|
||||||
|
VIDEO_RE_SUFFIXES,
|
||||||
|
VIDEO_SUFFIXES,
|
||||||
CustomLogger,
|
CustomLogger,
|
||||||
AUDIO_SUFFIXES,
|
|
||||||
AUDIO_RE_SUFFIXES,
|
|
||||||
blue_tag,
|
blue_tag,
|
||||||
yellow_tag,
|
|
||||||
combined_score,
|
combined_score,
|
||||||
get_audio_tracks,
|
get_audio_tracks,
|
||||||
get_subtitle_tracks,
|
get_subtitle_tracks,
|
||||||
green_tag,
|
green_tag,
|
||||||
|
parser_add_loglevel,
|
||||||
red_tag,
|
red_tag,
|
||||||
reset,
|
reset,
|
||||||
safe_delete,
|
safe_delete,
|
||||||
safe_rename,
|
safe_rename,
|
||||||
score_match_fuzzy,
|
score_match_fuzzy,
|
||||||
score_match_jaccard,
|
score_match_jaccard,
|
||||||
parser_add_loglevel,
|
|
||||||
score_match_recall_jaccard,
|
score_match_recall_jaccard,
|
||||||
setup_logging,
|
setup_logging,
|
||||||
tmdb_get,
|
tmdb_get,
|
||||||
tvdb_get,
|
tvdb_get,
|
||||||
VIDEO_SUFFIXES,
|
|
||||||
VIDEO_RE_SUFFIXES,
|
|
||||||
word_similarity,
|
word_similarity,
|
||||||
words,
|
words,
|
||||||
|
yellow_tag,
|
||||||
)
|
)
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
|
"AUDIO_RE_SUFFIXES",
|
||||||
|
"AUDIO_SUFFIXES",
|
||||||
"LOG_LEVELS",
|
"LOG_LEVELS",
|
||||||
"TRACE",
|
"TRACE",
|
||||||
|
"VIDEO_RE_SUFFIXES",
|
||||||
|
"VIDEO_SUFFIXES",
|
||||||
"CustomLogger",
|
"CustomLogger",
|
||||||
"AUDIO_SUFFIXES",
|
|
||||||
"AUDIO_RE_SUFFIXES",
|
|
||||||
"blue_tag",
|
"blue_tag",
|
||||||
"combined_score",
|
"combined_score",
|
||||||
"get_audio_tracks",
|
"get_audio_tracks",
|
||||||
"get_subtitle_tracks",
|
"get_subtitle_tracks",
|
||||||
"green_tag",
|
"green_tag",
|
||||||
|
"parser_add_loglevel",
|
||||||
"red_tag",
|
"red_tag",
|
||||||
"reset",
|
"reset",
|
||||||
"safe_delete",
|
"safe_delete",
|
||||||
@@ -45,12 +50,9 @@ __all__ = [
|
|||||||
"score_match_fuzzy",
|
"score_match_fuzzy",
|
||||||
"score_match_jaccard",
|
"score_match_jaccard",
|
||||||
"score_match_recall_jaccard",
|
"score_match_recall_jaccard",
|
||||||
"parser_add_loglevel",
|
|
||||||
"setup_logging",
|
"setup_logging",
|
||||||
"tmdb_get",
|
"tmdb_get",
|
||||||
"tvdb_get",
|
"tvdb_get",
|
||||||
"VIDEO_SUFFIXES",
|
|
||||||
"VIDEO_RE_SUFFIXES",
|
|
||||||
"word_similarity",
|
"word_similarity",
|
||||||
"words",
|
"words",
|
||||||
"yellow_tag",
|
"yellow_tag",
|
||||||
|
|||||||
Regular → Executable
+3
-1
@@ -1,10 +1,12 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import io
|
import io
|
||||||
import json
|
import json
|
||||||
import logging
|
import logging
|
||||||
from pathlib import Path
|
|
||||||
import tempfile
|
import tempfile
|
||||||
import unittest
|
import unittest
|
||||||
|
from pathlib import Path
|
||||||
from unittest.mock import patch
|
from unittest.mock import patch
|
||||||
|
|
||||||
from serverlibrary import core
|
from serverlibrary import core
|
||||||
|
|||||||
Reference in new issue
Block a user