mirror of
https://github.com/anufrievroman/waypaper.git
synced 2024-10-05 15:18:41 +03:00
Merge pull request #40 from ch3st3r08/fix-fill-option
fix: --fill options wrong type
This commit is contained in:
commit
c92cb4e798
@ -9,7 +9,7 @@ from waypaper.app import App
|
||||
from waypaper.changer import change_wallpaper
|
||||
from waypaper.common import get_random_file
|
||||
from waypaper.config import Config
|
||||
from waypaper.options import BACKEND_OPTIONS
|
||||
from waypaper.options import BACKEND_OPTIONS, FILL_OPTIONS
|
||||
from waypaper.translations import Chinese, English, French, German, Polish, Russian
|
||||
|
||||
about = AboutData()
|
||||
@ -35,7 +35,7 @@ parser = argparse.ArgumentParser(
|
||||
parser.add_argument("-v", "--version", help=txt.msg_arg_help, action="store_true")
|
||||
parser.add_argument("--restore", help=txt.msg_arg_rest, action="store_true")
|
||||
parser.add_argument("--random", help=txt.msg_arg_rand, action="store_true")
|
||||
parser.add_argument("--fill", help=txt.msg_arg_fill, action="store_true")
|
||||
parser.add_argument("--fill", help=txt.msg_arg_fill, choices=FILL_OPTIONS)
|
||||
parser.add_argument("--backend", help=txt.msg_arg_back, choices=BACKEND_OPTIONS)
|
||||
args = parser.parse_args()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user