kopia lustrzana https://github.com/halcy/Mastodon.py
minor: wrap unpacking print statement over debug check
rodzic
9e1d7205f0
commit
127cd33454
|
@ -533,7 +533,8 @@ class Mastodon():
|
|||
# and we basically always want it
|
||||
for key in param_keys:
|
||||
if key in ['min_id', 'max_id', 'since_id']:
|
||||
print("Unpacking", key)
|
||||
if self.debug_requests:
|
||||
print("Unpacking", key)
|
||||
params[key] = self.__unpack_id(params[key], dateconv = dateconv, listify = False)
|
||||
|
||||
return params
|
||||
|
|
Ładowanie…
Reference in New Issue