Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tdiprima committed Apr 1, 2020
1 parent 3b6e6cf commit 78ad04d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from mongoapi import *
from pathdbapi import *


usr_details = {}


Expand Down Expand Up @@ -36,8 +35,10 @@ def get_peep(i, X):
if len(rr) > 0:
usr_details[creator_num] = rr['name'][0]['value']
creator_str = rr['name'][0]['value']
else:
elif "source" in i:
creator_str = X['source']
else:
creator_str = "Computer"

return creator_str.capitalize()

Expand Down

0 comments on commit 78ad04d

Please sign in to comment.