diff --git a/aws.py b/aws.py index 970fdd1..8e78bc7 100644 --- a/aws.py +++ b/aws.py @@ -1,7 +1,4 @@ -# This Python file uses the following encoding: windows-1252 -# - import datetime, pysftp, codecs, re, time, json, traceback, csv, os import pandas as pd import boto3 @@ -197,12 +194,12 @@ def d(s,end=''): elif DEBUG: print(s) def clean_funny(str): - if str and str.encode('utf8') == ' ': return '' + if str and str.encode('utf8') == '�': return '' return str def clean_funny2(str): if str and str == '\xa0': return '' - if str and str == ' ': return '' + if str and str == '�': return '' return str