Compare commits
No commits in common. "77490bae605551f76500e8167faa7ea0d67d91cf" and "0a17d98781f6fea2928e05881da12ecfaa286281" have entirely different histories.
77490bae60
...
0a17d98781
@ -18,12 +18,4 @@ try:
|
||||
consumer.close()
|
||||
except KeyboardInterrupt:
|
||||
consumer.close()
|
||||
dt = {}
|
||||
for datetime in DATETIMES:
|
||||
dts = datetime.strftime("%m/%d/%Y, %H:%M:%S")
|
||||
if dts not in dt:
|
||||
dt[strftime("%m/%d/%Y, %H:%M:%S")] = 1
|
||||
else:
|
||||
dt[strftime("%m/%d/%Y, %H:%M:%S")] +=1
|
||||
for key, value in dt:
|
||||
print(key,",",value)
|
||||
print(DATETIMES)
|
||||
|
@ -24,12 +24,4 @@ try:
|
||||
channel.start_consuming()
|
||||
except KeyboardInterrupt:
|
||||
connection.close()
|
||||
dt = {}
|
||||
for datetime in DATETIMES:
|
||||
dts = datetime.strftime("%m/%d/%Y, %H:%M:%S")
|
||||
if dts not in dt:
|
||||
dt[strftime("%m/%d/%Y, %H:%M:%S")] = 1
|
||||
else:
|
||||
dt[strftime("%m/%d/%Y, %H:%M:%S")] +=1
|
||||
for key, value in dt:
|
||||
print(key,",",value)
|
||||
print(DATETIMES)
|
||||
|
@ -18,12 +18,4 @@ try:
|
||||
DATETIMES.append(datetime.now())
|
||||
except KeyboardInterrupt:
|
||||
socket.close()
|
||||
dt = {}
|
||||
for datetime in DATETIMES:
|
||||
dts = datetime.strftime("%m/%d/%Y, %H:%M:%S")
|
||||
if dts not in dt:
|
||||
dt[strftime("%m/%d/%Y, %H:%M:%S")] = 1
|
||||
else:
|
||||
dt[strftime("%m/%d/%Y, %H:%M:%S")] +=1
|
||||
for key, value in dt:
|
||||
print(key,",",value)
|
||||
print(DATETIMES)
|
||||
|
Loading…
Reference in New Issue
Block a user