Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
KatKatKateryna committed Nov 11, 2023
1 parent 70785a9 commit cabc102
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ def automate_function(
# the context provides a conveniet way, to receive the triggering version
try:
projInfo = query_version_info(automate_context)
if not projInfo.speckle_type.endswith("Revit.ProjectInfo"):
automate_context.mark_run_failed("Not a valid 'Revit.ProjectInfo' provided")

lon = np.rad2deg(projInfo["longitude"])
lat = np.rad2deg(projInfo["latitude"])
try:
Expand Down

0 comments on commit cabc102

Please sign in to comment.