Merge pull request #120 from Latand/patch-1

Update callback_data.py
This commit is contained in:
Alex Root Junior 2019-04-07 13:49:27 +03:00 committed by GitHub
commit d13f961038
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ class CallbackData:
for part in self._part_names:
value = kwargs.pop(part, None)
if not value:
if value is None:
if args:
value = args.pop(0)
else: