MoreCoffee@lemm.ee to Linux@lemmy.mlEnglish · 1 year agoSystemd 254 - now with soft-rebootplus-squaregithub.comexternal-linkmessage-square24fedilinkarrow-up1226arrow-down15
arrow-up1221arrow-down1external-linkSystemd 254 - now with soft-rebootplus-squaregithub.comMoreCoffee@lemm.ee to Linux@lemmy.mlEnglish · 1 year agomessage-square24fedilink
minus-squareMoreCoffee@lemm.eetoPython@programming.dev•*Permanently Deleted*linkfedilinkEnglisharrow-up3·edit-21 year agoYour get_admin_ids() needs some try/except. I would check the requests call and you can specifically check for requests.exceptions.JSONDecodeError exceptions. linkfedilink
minus-squareMoreCoffee@lemm.eetoFediverse@lemmy.world•Spread Out: How To Speed Up LemmylinkfedilinkEnglisharrow-up9·1 year agoI created this https://github.com/wescode/lemmy_migrate to let you sync your different communities among your accounts. linkfedilink
Your get_admin_ids() needs some try/except. I would check the requests call and you can specifically check for requests.exceptions.JSONDecodeError exceptions.