From 50fcaf581ac81cd6bee96b81569b60847d50b62e Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 31 Oct 2023 11:47:28 +0100 Subject: [PATCH] sanitize file names --- __pycache__/sanitize.cpython-311.pyc | Bin 0 -> 2672 bytes bot.py | 3 ++- sanitize.py | 27 +++++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 __pycache__/sanitize.cpython-311.pyc create mode 100644 sanitize.py diff --git a/__pycache__/sanitize.cpython-311.pyc b/__pycache__/sanitize.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5453e3cd61d56edb15a13c8ef119965f206a00bc GIT binary patch literal 2672 zcma(ST}%{5cy@2^*aJcFr;0yyt}1vch!qc;AkoCMjZrXOQxp1gS#B3t?$_O0@h+HL z2}U2Z1vLRg!(l-=X{(8?X)T&2bDQ+>&fEjpq={*t`gVzLKJ}a3^Ynx^ot^n+_WQn> z?|cJU#0%X_~q8UQAIv0 z#H78kP;_rViGbj}st}fAazbi~#$Q&piLyWDkA$M_N)7DcVW=AcBvIDkw)zN@Jafra z`h5XZw7hzBV^KZ+b5P+tbDjkySy0mHwN$k9v?*1qS^k*ZCBMHdH#2EK|9$46Xa4ObgR-PghQMV6%& z(jb`@_Q7Hd#okDj{?b}xL{_w=%t8dVvLle|aI@0SWU|irJu?>>UZ#x7%QR zM!COfa;|~#q8-2(>ZQrKktS!%+-ZTcNU47Fe~_swQNxUgM%l}oKnA0%2Q+xo780V0 z=`bsk&E$Y=4a%yOt%=R0G;Rw<{6bJ|Z+cCoNullp0IuF~!s@>X516045BLZCtbfim z)067?*PIlW2R*?*ws&yM&e?$(a8D%v+i8|HFPlJCYR>6RzC8O>GkVJn}RbTdu zY#+CcpPD*-nXl^1a-F6?gZKGDf*khw$}+eV-)C@g zd3*=aBwTK>Qd|&tyF6}_=$5Sf7oE0PfX?G8ejWPf$=3ahG<0?xJr(P}Zlh z{xqoRvk@(GB|x6w0DT`Yc^u751~Gjjx}~5RAZbh&Fg5!C$ND4% zbdEprhp_F3mQ(4bhIz7;HW~}bJ~MRY zt#3NkDrCMb6cM$c)ULQ;2aUGc0kB|W7-kVUljirlVtC7 zhdb|Z7i_@t+I-(D6&$Fd74GD@ZSZMxK=tGtp1i|Tr~qox zR;Xc^lMG0G4SB?^xRiKitIOKz3M^|sSU@GfBfB$sH0x~3afkBUp)7Z3k>e@iaE?2Y y=Z<8#BSpl49Oub%o-F4nBKGIFmOR&z {sanitize(s)}") + print(f"{s.upper()} --> {sanitize(s.upper())}") + + test("Pójdźże, kiń tę chmurność w głąb flaszy!") + test("Příliš žluťoučký kůň úpěl ďábelské ódy") + test("Fix, Schwyz! quäkt Jürgen blöd vom Paß") + test("HellOO 😂🤣--😍🥰 there, you!.md") + test("Voix ambiguë d’un cœur qui au zéphyr préfère les jattes de kiwis")