mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-01 05:04:51 +00:00
Actually raise mutually exclusive arg error
This commit is contained in:
parent
4ae9a5ad38
commit
19854a5d4f
1 changed files with 1 additions and 1 deletions
|
|
@ -2668,7 +2668,7 @@ class Client:
|
|||
"""
|
||||
|
||||
if file_name is not None and file_dir is not None:
|
||||
ValueError('file_name and file_dir may not be specified together.')
|
||||
raise ValueError('file_name and file_dir may not be specified together.')
|
||||
|
||||
if isinstance(message, (types.Message, types.Photo)):
|
||||
done = Event()
|
||||
|
|
|
|||
Loading…
Reference in a new issue