termux-packages/packages/asciinema/no_langinfo.patch
2018-12-28 23:20:16 +01:00

14 lines
424 B
Diff

--- ../__main__.py.orig 2018-12-28 15:18:49.567468833 +0100
+++ ./asciinema/__main__.py 2018-12-28 15:19:17.550800251 +0100
@@ -50,10 +50,6 @@
def main():
- if locale.nl_langinfo(locale.CODESET).upper() != 'UTF-8':
- print("asciinema needs a UTF-8 native locale to run. Check the output of `locale` command.")
- sys.exit(1)
-
try:
cfg = config.load()
except config.ConfigError as e: