You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deCodeImg.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -57,9 +57,9 @@ def main(argv):
57
57
elifoptin ("-m", "--makeServer"):
58
58
makeServer=True
59
59
elifoptin ("-p", "--port"):
60
-
port=arg
60
+
port=int(arg)
61
61
ifmakeServer==True:
62
-
print('--- DeCodeImg Server Started ---\nPowered by hoothin\nhttp://127.0.0.1:416/?img=c:/codeimg.png\nhttp://127.0.0.1:416/?img=http://a.a/codeimg.png\nhttp://127.0.0.1:416/?img=Base64 Data')
62
+
print('--- DeCodeImg Server Started ---\nPowered by hoothin\nhttp://127.0.0.1:'+str(port)+'/?img=c:/codeimg.png\nhttp://127.0.0.1:'+str(port)+'/?img=http://a.a/codeimg.png\nhttp://127.0.0.1:'+str(port)+'/?img=Base64 Data')
0 commit comments