mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
local variable 'server' referenced before assignment
This commit is contained in:
parent
915e8c779a
commit
122941b696
1 changed files with 1 additions and 0 deletions
|
@ -262,6 +262,7 @@ def find_actor_or_create(actor: str, create_if_not_found=True, community_only=Fa
|
||||||
actor_url = actor.strip()
|
actor_url = actor.strip()
|
||||||
actor = actor.strip().lower()
|
actor = actor.strip().lower()
|
||||||
user = None
|
user = None
|
||||||
|
server = ''
|
||||||
# actor parameter must be formatted as https://server/u/actor or https://server/c/actor
|
# actor parameter must be formatted as https://server/u/actor or https://server/c/actor
|
||||||
|
|
||||||
# Initially, check if the user exists in the local DB already
|
# Initially, check if the user exists in the local DB already
|
||||||
|
|
Loading…
Add table
Reference in a new issue