mirror of https://gitlab.com/octtspacc/staticoso
Whoopsie
This commit is contained in:
parent
dd7f957460
commit
fe4d34e96e
|
@ -77,7 +77,7 @@ def MastodonShare(InstanceURL, Token, TypeFilter, CategoryFilter, HoursLimit, Pa
|
|||
if p['Link'] == URL:
|
||||
DoPost = False
|
||||
break
|
||||
if DoPost and (not HoursLimit or (Meta['Created on'] and time.time() - time.mktime(date_parse(Meta['Created on']).timetuple()) < 60*60*HoursLimit)):
|
||||
if DoPost and (not HoursLimit or (Meta['CreatedOn'] and time.time() - time.mktime(date_parse(Meta['CreatedOn']).timetuple()) < 60*60*HoursLimit)):
|
||||
if not SaidPosting:
|
||||
print("[I] Posting to Mastodon")
|
||||
SaidPosting = True
|
||||
|
|
Loading…
Reference in New Issue