Skip to content

requests.SetRecordDirectory takes 1 positional argument but 2 were given #88

@REDS1736

Description

@REDS1736

Executing requests.SetRecordDirectory('C:/Users/REDS1736/Desktop') results in the following error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: __init__() takes 1 positional argument but 2 were given

I already tried giving the desired path as a keyword (requests.SetRecordDirectory(recordDirectory='C:/Users/REDS1736/Desktop'); i guessed the name of the keyword using this official piece of OBS docs: https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setrecorddirectory), but that just gives me a new error:

<SetRecordDirectory request ({'directory': 'C:/Users/REDS1736/Desktop/'}) called: failed ({})> 

I suppose, the keyword i use is wrong but i can't find the right one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions