We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e088c03 commit b3c7fb2Copy full SHA for b3c7fb2
shuffle-tools/1.2.0/src/app.py
@@ -594,8 +594,12 @@ def custom_print(*args, **kwargs):
594
# Add globals in it too
595
globals_copy = globals().copy()
596
globals_copy["print"] = custom_print
597
- globals_copy["singul"] = self.singul
598
- globals_copy["shuffle"] = self.singul
+ try:
+ globals_copy["singul"] = self.singul
599
+ globals_copy["shuffle"] = self.singul
600
+ except Exception as e:
601
+ self.logger.info(f"Failed to add singul to python globals: {e}")
602
+
603
604
# Add self to globals_copy
605
for key, value in locals().copy().items():
0 commit comments