Traceback (most recent call last):


 "c:/Users/myUserName/Documents/GitHub/NSFWAskRedditBot/crosspost_nsfw.py", line 16, in <module>

p.crosspost(subreddit_post, send_replies=False, nsfw=False, spoiler=False)
TypeError: crosspost() got an unexpected keyword argument 'nsfw'

Traceback (most recent call last):


 "/usr/bin/pyinstaller", line 11, in <module>

load_entry_point('PyInstaller==3.5+498e6ee058', 'console_scripts', 'pyinstaller')()


 "/usr/lib/python3/dist-packages/PyInstaller/__main__.py", line 111, in run

run_build(pyi_config, spec_file, **vars(args))


 "/usr/lib/python3/dist-packages/PyInstaller/__main__.py", line 63, in run_build

PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)


 "/usr/lib/python3/dist-packages/PyInstaller/building/build_main.py", line 844, in main

build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))


 "/usr/lib/python3/dist-packages/PyInstaller/building/build_main.py", line 791, in build

exec(code, spec_namespace)


 "/home/pwner/Desktop/pytt.spec", line 18, in <module>

pyz = PYZ(a.pure, a.zipped_data,


 "/usr/lib/python3/dist-packages/PyInstaller/building/api.py", line 98, in __init__

self.__postinit__()


 "/usr/lib/python3/dist-packages/PyInstaller/building/datastruct.py", line 158, in __postinit__

self.assemble()


 "/usr/lib/python3/dist-packages/PyInstaller/building/api.py", line 128, in assemble

self.code_dict = {


 "/usr/lib/python3/dist-packages/PyInstaller/building/api.py", line 129, in <dictcomp>

key: strip_paths_in_code(code)


 "/usr/lib/python3/dist-packages/PyInstaller/building/utils.py", line 652, in strip_paths_in_code

consts = tuple(


 "/usr/lib/python3/dist-packages/PyInstaller/building/utils.py", line 653, in <genexpr>

strip_paths_in_code(const_co, new_filename)


 "/usr/lib/python3/dist-packages/PyInstaller/building/utils.py", line 660, in strip_paths_in_code

return code_func(co.co_argcount, co.co_kwonlyargcount, co.co_nlocals, co.co_stacksize,
TypeError: an integer is required (got type bytes)
