Browse Source

Footer wasn't saved to log

master
The Dod 1 year ago
parent
commit
6d0ef48f94
6 changed files with 26 additions and 1 deletions
  1. 2
    1
      doctor.py
  2. 3
    0
      logs/index.html
  3. 4
    0
      logs/log-20230722-170005.txt
  4. 4
    0
      logs/log-20230722-170652.txt
  5. 4
    0
      logs/log-20230722-171740.txt
  6. 9
    0
      test.txt

+ 2
- 1
doctor.py View File

@@ -70,7 +70,8 @@ while True:
70 70
             slowprint("""
71 71
 =====================================================================
72 72
 End of Talk
73
-=====================================================================""")
73
+=====================================================================""",
74
+                      logfile)
74 75
             sys.exit(0)
75 76
     if logfile:
76 77
         logfile.write("JJ: {}\n\n".format(prompt))

+ 3
- 0
logs/index.html View File

@@ -24,6 +24,9 @@
24 24
             <div class="col-12">
25 25
                 <ul class="list-group text-center">
26 26
                     <li class="list-group-item">
27
+                        <a target="_blank" class="btn btn-success" href="log-20230722-234605.txt">[log-20230722-234605.txt]</a>
28
+                    </li>
29
+                    <li class="list-group-item">
27 30
                         <a target="_blank" class="btn btn-success" href="log-20230722-171740.txt">[log-20230722-171740.txt]</a>
28 31
                     </li>
29 32
                     <li class="list-group-item">

+ 4
- 0
logs/log-20230722-170005.txt View File

@@ -11,3 +11,7 @@ JJ: Judd's bike is not exactly protection and fortification, how does it fiit in
11 11
 
12 12
 Doctor Kernel: Ah, yes, Judd's motorbike. It seems that the motorbike represents a sense of freedom and escape for you. While your profession may be associated with protection and fortification, Judd and his motorbike provide a different kind of release from the challenges and pressures you face. It's important to have these outlets in your life that offer a break from routine and allow you to explore different aspects of yourself.
13 13
 
14
+
15
+=====================================================================
16
+End of Talk
17
+=====================================================================

+ 4
- 0
logs/log-20230722-170652.txt View File

@@ -11,3 +11,7 @@ JJ: Some people say that because many software systems store the year as 2 digit
11 11
 
12 12
 Doctor Kernel: Ah, the infamous Y2K problem. It's true that many software systems were designed with only two-digit year storage, which could cause issues when the year 2000 arrives. The potential consequences of this problem are still uncertain, but it's definitely something that needs to be taken seriously. Many organizations are working hard to address the issue and update their systems to avoid any major disruptions. It's always a good idea to be prepared and have backup plans in place, just in case.
13 13
 
14
+
15
+=====================================================================
16
+End of Talk
17
+=====================================================================

+ 4
- 0
logs/log-20230722-171740.txt View File

@@ -11,3 +11,7 @@ JJ: What does the dress symbolize?
11 11
 
12 12
 Doctor Kernel: The dress in your dream could symbolize various things, depending on your personal associations and experiences. It could represent femininity, self-expression, or even a desire to escape from your current circumstances. It's important to explore your own feelings and thoughts about the dress to gain a deeper understanding of its significance for you.
13 13
 
14
+
15
+=====================================================================
16
+End of Talk
17
+=====================================================================

+ 9
- 0
test.txt View File

@@ -0,0 +1,9 @@
1
+=====================================================================
2
+Interactive Talk-Program loaded and started.
3
+Users:
4
+* [Doctor Kernel]
5
+* [JJ] <- you
6
+Hit <Enter> to exit
7
+=====================================================================
8
+JJ: I am sad
9
+Doctor Kernel: I'm sorry to hear that, JJ. Is there something specific that's been bothering you?

Loading…
Cancel
Save