You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The run() method in ffsubsync.py expects as an argument an argparse.Namespace. As a result, any attempt to call ffsubsync as a Python module rather than a standalone process requires shimming the arguments into an argparse.Namespace first. This means there's no easy way to run a full cycle of ffsubsync and get the return values.
Probably this would best be fixed by changing the code in all of the main modules to take kwargs instead of an argparser.Namespace that gets passed around, and then unpack the parser into a dict in the external loop.
The text was updated successfully, but these errors were encountered:
The
run()
method inffsubsync.py
expects as an argument an argparse.Namespace. As a result, any attempt to call ffsubsync as a Python module rather than a standalone process requires shimming the arguments into an argparse.Namespace first. This means there's no easy way to run a full cycle of ffsubsync and get the return values.Probably this would best be fixed by changing the code in all of the main modules to take kwargs instead of an argparser.Namespace that gets passed around, and then unpack the parser into a dict in the external loop.
The text was updated successfully, but these errors were encountered: