Skip to content

Commit

Permalink
Commented out unnecessary code in regions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuscardosodeveloper committed Mar 20, 2024
1 parent bad0fd5 commit b9ce157
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tagoio_sdk/regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ def getConnectionURI(region: Regions) -> RegionDefinition:

return {"api": api, "realtime": realtime}
except:
global noRegionWarning
if noRegionWarning is False:
# print("> TagoIO-SDK: No region or env defined, using fallback as usa-1.")
noRegionWarning = True
# global noRegionWarning
# if noRegionWarning is False:
# print("> TagoIO-SDK: No region or env defined, using fallback as usa-1.")
# noRegionWarning = True

return regionsDefinition["usa-1"]

0 comments on commit b9ce157

Please sign in to comment.