mirror of
https://gitlab.com/octtspacc/staticoso
synced 2025-06-05 22:09:23 +02:00
Whoopsie
This commit is contained in:
@ -77,7 +77,7 @@ def MastodonShare(InstanceURL, Token, TypeFilter, CategoryFilter, HoursLimit, Pa
|
|||||||
if p['Link'] == URL:
|
if p['Link'] == URL:
|
||||||
DoPost = False
|
DoPost = False
|
||||||
break
|
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:
|
if not SaidPosting:
|
||||||
print("[I] Posting to Mastodon")
|
print("[I] Posting to Mastodon")
|
||||||
SaidPosting = True
|
SaidPosting = True
|
||||||
|
Reference in New Issue
Block a user