Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

facer_rgb.py Profile Path Argument #224

Open
WolicraftSF opened this issue Jan 23, 2025 · 0 comments
Open

facer_rgb.py Profile Path Argument #224

WolicraftSF opened this issue Jan 23, 2025 · 0 comments

Comments

@WolicraftSF
Copy link

The title speaks for itself, the modifications:

...
parser.add_argument('-list',
                    action='store_true')

parser.add_argument('-profPath',
                    type=str,
                    dest='profPath')

args = parser.parse_args()

if args.profPath:
    CONFIG_DIRECTORY = args.profPath

if args.list:
    print("Saved profiles:")
    for filepath in list(path.glob('*.*')): print(f"\t{filepath.stem}")
    exit()
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant