summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksej Jocic <aleksej@spidermail.tk>2019-06-02 00:03:30 +0200
committerAleksej Jocic <aleksej@spidermail.tk>2019-06-02 00:03:30 +0200
commite92875676ae3ca3614c915debf9d8b08bd892e21 (patch)
tree0280745f5051468fc74d26390c8579d3c69a33f7
parentc0041f7b8954b93d4a22c086d7da5fa2ae41d74a (diff)
change VERSIONv1.3.0
-rwxr-xr-xtmap4
1 files changed, 3 insertions, 1 deletions
diff --git a/tmap b/tmap
index b1b7c3a..b36bbc7 100755
--- a/tmap
+++ b/tmap
@@ -7,12 +7,14 @@ import time
from ipaddress import *
import threading
-VERSION='1.2.1'
+VERSION='1.3.0'
def getPortInfo(port, portfile):
"""
Get info about service commonly used on this port
"""
+ ## Start reading the file from start of the file
+ portfile.seek(0)
## Read every line until EOF
line = "init"
while line != '':