make global vars uppercase
This commit is contained in:
parent
9d127581ef
commit
e61dc8ab27
3 changed files with 4 additions and 5 deletions
|
@ -15,4 +15,3 @@ replace = {new_version}
|
||||||
[bumpversion:file:manga-dlp.py]
|
[bumpversion:file:manga-dlp.py]
|
||||||
search = {current_version}
|
search = {current_version}
|
||||||
replace = {new_version}
|
replace = {new_version}
|
||||||
|
|
||||||
|
|
|
@ -3,11 +3,11 @@ import sys
|
||||||
|
|
||||||
from mangadlp.input import get_args
|
from mangadlp.input import get_args
|
||||||
|
|
||||||
mangadlp_version = "2.1.5"
|
MDLP_VERSION = "2.1.5"
|
||||||
|
|
||||||
|
|
||||||
def get_input():
|
def get_input():
|
||||||
print(f"manga-dlp version: {mangadlp_version}")
|
print(f"manga-dlp version: {MDLP_VERSION}")
|
||||||
print("Enter details of the manga you want to download:")
|
print("Enter details of the manga you want to download:")
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
|
|
|
@ -4,13 +4,13 @@ from pathlib import Path
|
||||||
|
|
||||||
import mangadlp.app as app
|
import mangadlp.app as app
|
||||||
|
|
||||||
mangadlp_version = "2.1.5"
|
MDLP_VERSION = "2.1.5"
|
||||||
|
|
||||||
|
|
||||||
def check_args(args):
|
def check_args(args):
|
||||||
# check if --version was used
|
# check if --version was used
|
||||||
if args.version:
|
if args.version:
|
||||||
print(f"manga-dlp version: {mangadlp_version}")
|
print(f"manga-dlp version: {MDLP_VERSION}")
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
# check if a readin list was provided
|
# check if a readin list was provided
|
||||||
if not args.read:
|
if not args.read:
|
||||||
|
|
Loading…
Reference in a new issue